/*
 *
 * ██████╗                                                         ██╗        ██████╗     ██╗
 * ██╔══██╗ ██ ███╗   ███╗    ████╗   ██████╗  █████╗    █████╗  ██████╗        ██╔═╝   ██║ ██║
 * █████╔═╝  ██║ ║█║ ██║ ██║ ██╔══╝   ██╔══██╗ ██╔══██╗ ██╔══╗█╗   ██╔═╝        ██║    ██║   ██║
 * ██╔══╝    ██║ ╚═╝ ██║ ██║  ████╗   █████╔═╝ █████╔═╝ ██║  ╚═╝   ██║          ██║    ████████║
 * ██║       ██║     ██║  █║      ██╗ ██╔══╝   ██╔══╝   ██║        ██║          ██║    ██║   ██║
 * ██║       ██║      ████║   ████╔╝  ██║      ██████╗   █████╗     ███╗      ██████╗  ██║   ██║
 * ╚═╝       ╚═╝      ╚═══╝   ╚═══╝   ╚═╝      ╚═════╝   ╚════╝     ╚══╝      ╚═════╝  ╚═╝   ╚═╝
 *
 * ---  CSS : Feuilles de style en cascade | Jean-Bernard MARTINEZ & Ayoub BENDIB - ProspectIA.eu © 2025 - SentientTech.com
 * --- Fichier : modular.css | Thème : Eléments modulaires
 * 							
*/

/* ***************************************************************************************************
		4 - MODULAR ELEMENTS : ELEMENTS MODULAIRES ==> [ caroussel, galerie... ]
****************************************************************************************************** */

/**
* CHATBOT
*/

.aside-left {
	position: absolute;
	display: block;
	top: 3rem;
	left: 1rem;
	width: 33%;
	min-height: 70vh;
	border: 1px solid var(--color-border);
	background-image: '';
	background-repeat: no-repeat;
	background-position: center center;
	padding-bottom: 1rem;
}

.aside-left h3 {
	text-align: left;
	font-size: 14px;
	padding: 0.05rem 1rem;
	width: 100%;
	background-color: rgba(255,255,255,0.1);
}

.aside-left::before {
	position: absolute;
	z-index: 1;
	top:0;
	right: 0;
	transform: translate(1px, -1px);
	width: 100px;
	height: 20px;
	background-color: var(--color-background);
	border-bottom: 1px solid var(--color-border);
	border-left: 1px solid var(--color-border);
	content: '';
}

.aside-left::after {
	position: absolute;
	z-index: 1;
	bottom:0;
	left: 0;
	transform: translate(-1px, 1px);
	width: 100px;
	height: 20px;
	background-color: var(--color-background);
	border-top: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	content: '';
}

.aside-right {
	position: absolute;
	display: block;
	top: 3rem;
	right: 1rem;
	width: 33%;
	min-height: 70vh;
	border: 1px solid var(--color-border);
	padding-bottom: 1rem;
}

.aside-right h3 {
	text-align: right;
	font-size: 14px;
	padding: 0.05rem 1rem;
	width: 100%;
	background-color: rgba(255,255,255,0.1);
}

.aside-right::before {
	position: absolute;
	z-index: 1;
	top:0;
	left: 0;
	transform: translate(-1px, -1px);
	width: 100px;
	height: 20px;
	background-color: var(--color-background);
	border-bottom: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	content: '';
}

.aside-right::after {
	position: absolute;
	z-index: 1;
	bottom:0;
	right: 0;
	transform: translate(1px, 1px);
	width: 100px;
	height: 20px;
	background-color: var(--color-background);
	border-top: 1px solid var(--color-border);
	border-left: 1px solid var(--color-border);
	content: '';
}

.container-bot {
	position: relative;
	margin-top: 8rem;
}

#img-bot {
	width: 500px;
	height: 500px;
}

#img-bot img {
	width: 100%;
	height: auto;
}

.container-chat {
	position:relative;
	display: block;
	margin-top: 10rem;
	width: 100%;
	text-align: center;
}

/** Form chat user */
.user-speech {
	position: relative;
	display: block;
	left: 1rem;
	padding: 1rem;
	width: calc(100% - 2rem);
	border: 1px solid var(--color-border);
	border-radius: 10px;
}

#user {
	transform: translateY(0.6rem);
}

.user-speech button {
	padding: 0.5rem;
}

.user-speech button i {
	font-size: 20px;
}

.micro-quiet {
	display: initial;
}

.micro-quiet {
	display: initial;
}

.micro-open {
	display: none;
}


/**
* bubble
**/

#user-text-bubble, #bot-text-bubble {
	position: relative;
	width: 100%;
	height: 63vh;
	overflow-y: scroll;
}

#user-text-bubble::-webkit-scrollbar, #bot-text-bubble::-webkit-scrollbar {
  display: none;
}

.bubble-user, .bubble-bot {
	position: relative;
	display: block;
	width: calc(100% - 2rem);
	margin: 2rem 1rem 1rem 1rem;
	padding: 1rem;
}

.bubble-user::before, .bubble-bot::before {
	position:absolute;
	z-index: -1;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100% !important;
	border: 1px solid var(--color-border);
	border-top: none;
	border-radius: 10px;
	content: ' ';
}

.bubble-user::after, .bubble-bot::after {
	position:absolute;
	z-index: -1;
	display: block;
	top: 1px;
	width: 90%;
	height: 1px;
	border-top: 1px solid var(--color-border);
	content: ' ';
}

.bubble-user::after {
	left: calc(10% - 4px);
}

.bubble-bot::after {
	right: calc(10% - 4px);
}

.bubble-user::before {
	border-left: none;
	border-bottom-left-radius: 0;
}
.bubble-bot::before {
	border-right: none;
	border-bottom-right-radius: 0;
}

.bubble-user .curve {
	position: absolute;
	display: block;
	z-index: -1;
	top: 0;
	left: 0;
	transform: translate(1rem,-0.96rem);
}

.bubble-bot .curve {
	position: absolute;
	display: block;
	z-index: -1;
	top: 0;
	right: 0;
	transform: translate(-1rem,-0.94rem) rotateY(180deg);
}

/**
* HISTORY
**/

#history, #listing_admin, #prompt_listing {
	position: relative;
	z-index: 1;
	display: block;
	min-height: 80vh;
	height: auto;
	padding: 5rem;
}

#history_trade, #history_job, #listing, #prompt_prospect, #prompt_job {
	position:relative;
	z-index: 1;
	display: block;
	top: 3rem;
	width: calc(100% - 2rem);
	border: 1px solid var(--color-text);
	border-radius: 10px;
	background-color: var(--color-background);
	padding: 0;
}

#history_job {
	margin-top: 2rem;
	margin-bottom: 5rem;
}

#history_trade h1, #history_job h1, #listing h1, #prompt_prospect h1, #prompt_job h1 {
	text-align: center;
	font-size: 12px;
	margin: 0;
	background-color: rgba(255,255,255,0.1);
	padding: 0.5rem 0;
	text-transform: uppercase;
}

#history details, #history p, #listing p {
	padding: 0.5rem 1rem;
}

#history details .history_prospect {
	display: block;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0.5rem;
	cursor: pointer;
}

#history details .message {
	position: relative;
	margin: 0.5rem 0;
	padding: 0.5rem;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background-color: rgba(255,255,255,0.1);
	width: 80%;
}

#history details .user {
	left: 20%;
}

#history details .model {
	left: 0;
}

/**
* STAT
**/

.statistical {
	margin-top: 10px;
}

#stat {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#stat .overview {
	display: block;
	width: 330px;
	min-height: 50vh;
	margin: 0.5rem;
}

#stat .charts canvas {
	padding: 0.25rem;
	border: 1px solid var(--color-boutons);
	border-radius: 10px;
	margin-bottom: 1rem;
}

/**
* LISTING ADMIN
**/

.listing_admin_table {
	position: relative;
	display: block;
	width: 100%;
	padding: 1rem;
	min-height: 50vh;
}

.desktop {
	display: none;
}

/**
* PROMPT WING
**/

#prompt_listing h3 {
	position: relative;
	font-size: 12px;
	margin: 3rem 0 1rem 0;
	text-transform: uppercase;
}

#prompt_prospect, #prompt_job {
	margin-bottom: 5rem;
}

#prompt_listing h3::before {
	position: absolute;
	display: block;
	top: 0.5rem;
	left: 3%;
	width: 95%;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.1);
	content: '';
	z-index: -1;
}

#prompt_listing ul {
	list-style: none;
}

#prompt_listing i {
	font-size: 18px;
	margin-right: 0.5rem;
}

#prompt_prospect p, #prompt_job p {
	padding: 0.5rem 1rem;
	margin-right: 1rem;
	background-color: rgba(255,255,255,0.1);
}

#prompt_prospect .prompt_list, #prompt_job .prompt_list {
	padding: 0.5rem 1rem;
}

#prompt_save_form {
	position: relative;
	display: block;
	width: 50%;
	background-color: #2e2e2e;
	padding: 1rem;
	margin: 1rem auto;
	border-radius: 10px;
	text-align: center;
}

#prompt_save_form .radio_group {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	margin: 1rem;
	gap: 1rem;
}

#prompt_save_form .radio_group fieldset {
	position: relative;
	display: block;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 0 1rem;
	width: 50%;
	min-height: 10.7vh;
}

#prompt_save_form .radio_group fieldset legend {
	position: relative;
	top: -1rem;
	left: 1rem;
	width: 40%;
	background-color: #2e2e2e;
	padding: 0 0.5rem;
	font-size: 14px;
	text-align: center;
}

#prompt_save_form .radio_group fieldset div {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	transform: translateY(-1rem);
}

#prompt_save_form input[type="text"], #prompt_save_form textarea {
	width: calc(100% - 2rem) !important;
	margin-bottom: 0.5rem;
}

#prompt_save_form input[type="radio"] {
	width: 3rem;
}

#prompt_save_form textarea {
	min-height: 20vh;
}

#prompt_save_form button {
	padding: 0.5rem 1rem;
	margin-top: 0.5rem;
	border: none;
	border-radius: 5px;
	background-color: var(--color-boutons);
	color: var(--color-background);
	cursor: pointer;
}

/**
* LEVEL USER SECTION
**/

#user-level-section {
    padding: 0.5rem;
    border: 1px solid var(--color-boutons);
    border-radius: 10px;
    margin: 1rem  auto 0 auto;
    min-width: 330px !important;
    color: var(--color-boutons);
    font-size: 14px;
	width: 330px !important;
}

#user-level-section .level-badge {
	margin: 0 auto;
	width: 100px;
	text-align: center;
}

#user-level-section .fa-trophy {
	position: absolute;
	z-index: 2;
	display: block;
	font-size: 40px;
	transform: translate(28px,-30px);
}

#user-level-section .level-number
{
	position: relative;
	z-index: 5;
	display: block;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	transform: translateY(-35px);
}

#user-level-section h3 {
	text-align: center;
	font-size: 22px;
	margin: 0;
	transform: translateY(-1rem);
}

#user-level-section .level-description {
    text-align: center;
    font-size: 14px;
    margin: 0.5rem 0 0 0;
    transform: translateY(-0.5rem);
}

#user-level-section .level-progress {
	margin-top: 1rem;
	padding: 0.5rem;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background-color: rgba(255,255,255,0.1);
}

#user-level-section .level-progress h4 {
	text-align: center;
	font-size: 14px;
	margin: 0.5rem 0 0 0;
	transform: translateY(-0.5rem);
	text-transform: uppercase;
}

#user-level-section .progress-grid {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content:space-between;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

#user-level-section .progress-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 50%;
	margin-bottom: 1rem;
}

#user-level-section .progress-bar-container {
	width: 80%;
	height: 10px;
	background-color: rgba(255,255,255,0.1);
	border-radius: 5px;
	overflow: hidden;
	margin-top: 0.5rem;
}

#user-level-section .progress-bar {
	height: 100%;
	background-color: var(--color-boutons);
}

/*** TRAINING SECTION ***/

.training-title3 {
	position: relative;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 16px;
	margin: 0.5rem 0;
	text-transform: uppercase;
}