body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0px;
	padding: 0px;
	background-color: #343541;
	color: white;
	display: flex;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

h2 {
  margin-top: 1.5em;
}

em {
  font-style: italic;
}

button {
    background-color: #40414F;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

button:hover {
	border-radius: 8px;
    background-color: #525252;
}

#backgroundVideo {
position: absolute;
height: 100%;
width: 100%;
object-fit: cover;
position: fixed;
z-index: -1;
opacity: 0.95;
}

#connexionDess {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(137, 135, 135, 0.80);
	pointer-events: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.auth-buttons {
	padding: 15px 40px;
	background-color: #4e4e4e;
	display: flex;
	pointer-events: auto;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 9px;
}

.auth-buttons button {
	width: 250px;
	margin: 5px;
	padding: 0.6em 1.2em;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.auth-buttons input {
	width: 250px;
	margin: 5px;
	padding: 0.6em 1.2em;
	border: none;
	border-radius: 6px;
}

.twitch { 
	background-color: #6441a5; 
	color: white; 
}
.discord { 
	background-color: #5865F2; 
	color: white; 
}

#resizer {
	display: none;
	margin-left: 0px;
	overflow: hidden;
    width: 7px; /* Largeur de la barre */
    cursor: ew-resize; /* Curseur indiquant le redimensionnement horizontal */
    background: darkgray; /* Couleur de la barre */
}

#loginButton {
	background-color: rgba(0,0,0,0);
	backdrop-filter: blur(10px);
	max-width: 87px;
    margin-right: 5px;
    padding: 1px;
}

#WebScreen {
	padding: 0px;
	margin: 0px;
	flex: 1;
	flex-direction: column;
	display: none;
	overflow: hidden;
}

#WebScreen iframe {
	height: 100%;
	width: 100%;
}

#BoxRecherche {
	flex: 1;
	display: flex;
	flex-direction: column;
}

#ElementRecherche {
	flex: 1;
	margin: 0px;
	height: 200px;
	overflow-x: auto;
	border-radius: 4px;
	border: 1px solid #525252;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: #202123;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 8px;
    border-bottom: 1px solid #525252;
}

.chat-header h2 {
	width: 100%;
	height: 15px;
    color: #ececf1;
    margin-top: 0px;
    text-align: center;
}

.chat-header button {
	max-width: 87px;
	margin: 0px 5px;

	background-color: #40414F;
    color: white;
    cursor: pointer;
}

#newOngletsButton {
	display: none;	
    background-color: #8c96f8;
}

#closeOngletsButton {
	display: none;
    background-color: #9c0604;
}

#chatMessages {
    flex: 1;
    max-width: 950px;
	width: 100%;
    padding: 3px;
    overflow-y: auto;
}

#chatMessages::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #aaa; /* or add it to the track */
}

.message {
    margin-bottom: 20px;
    display: flex;
}

.reponse {
  font-weight: bold;
  margin-bottom: 1em;
}

.section-title {
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  font-size: 1.2em;
  font-weight: bold;
}

/* Align user messages to the right */
.message.user {
    justify-content: flex-end;
}

/* Styling for message bubbles */
.message .bubble {
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.4;
}

/* Bot message bubble styling */
.message.bot .bubble {
	background-color: #3e3d3d;
    color: #ececf1;
    border-radius: 7px 5px 8px 5px;
    padding-bottom: 30px;
}

/* User message bubble styling */
.message.user .bubble {
	max-width: 60%;
    background-color: #808080;
    color: white;
    border-radius: 12px 12px 0 12px;
}

.background-colorYes {
	background-color: #343541;
}

.background-colorNo {
	background-color: rgba(52, 53, 65, 0.35);
}

#chat-input {
	height: 100%;
	padding: 10px 10%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

#BarRecherche {
	max-width: 950px;
	width: 100%;
	display: flex;
	height: 70px;
	flex-direction: column;
	padding: 15px;
	border-radius: 8px; 
	border-top: 1px solid #525252;
	background-color: #40414F; 
	backdrop-filter: blur(10px);
    box-shadow: 0 0 8px rgba(0,0,0,0.5); 
}

#chat-inputSearch {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
}

#BarRecherche textarea {
    flex: 1;
    width: 100%;
    height: 45px;
    max-height: 200px;
    background-color: #40414F;
    color: white;
    padding: 5px 10px;
    outline: none;
    border: none;
    font-size: 1rem;
    overflow-y: hidden; /* Cache la barre de défilement */
    resize: none; /* Empêche le redimensionnement manuel */
    box-sizing: border-box; /* Inclut le padding dans la hauteur */
    line-height: 1.5;
}

#SuggestionMot {
	margin: 0px;
	display: none;
	border-radius: 7px;
	max-width: 270px;	
}

#sugg {
	width: 100%;
	height: 200px;	
	display: block;
	transition: opacity 0.3s ease-in-out;
	overflow: hidden;
}

#BarRecherche button:hover {
    background-color: #0078d4;
}

#modChat {
	width: 100%;
	display: flex;
	flex-direction: row;
}

#modChat button {
	padding-left: 7px;
	width: 28px;
	height: 28px;
    margin-left: 10px;
    background-color: #333339;
    color: white;
    border: none;
    border-radius: 5px 0px 5px 0px;
    cursor: pointer;
}

#file-upload {
	position: absolute;
	display: none;
}

#modChat #newConversationButton {
	margin-left: 25px;
	width: 35px;
	font-size: 13px;
    background-color: #0b93f6;
    color: white;
}

#SuggestionRecherche {
	height: 75%;
	display: grid;
}

#ParaAide {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	text-align: center;
	overflow: hidden;
}

#ParaAide button {
	background-color: rgba(0,0,0,0);
	backdrop-filter: blur(10px);
}

#Setting {
	padding: 15px;
	max-width: 400;
	background-color: #1e1f23;
	pointer-events: visible;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	gap: 10px;
    color: white;
    border: none;
    border-radius: 5px;
}

#Aide {
	max-width: 400px;
	background-color: #1e1f23;
	pointer-events: visible;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	gap: 10px;
    color: white;
    border-radius: 5px;
}

#ListeAide div {
	padding: 10px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#ListeAide p {
	margin-left: 12px;
}

#Setting select {
	background-color: #40414F;
	pointer-events: visible;
    color: white;
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.reglageH {
    display: none !important;
}

.reglageV {
    visibility: visible; 
}

li {
	display: flex;
	align-items: center;
	padding-left: 15px;
	margin-left: -40px;
	height: 29px;
	cursor: default;
	background-color: #393a45;
	color: white;
	border-radius: 9px;
	border-top: 1px solid #525252;
}

li:hover {
	background-color: #444655;
}