
header
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f1f1f1;
	overflow: hidden;
	border-bottom: 2px solid #ccc ;
}


.logo
{
	float: left;
	width : 150px ;
	height : 100px;
	padding: 10px;
	margin-left: 10px;
}

.nav {
    position: relative;
    background-color: #fff;
    padding: 10px;
    transition: 0.5s;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0,0,0,.2);
	margin-right: 15px;
	margin-left: 10px;
}



.menu {
    margin: 0;
    padding: 0;
    width: 0;
    overflow: hidden;
    transition: 0.5s;
}

.nav input:checked ~ .menu {
    width: 330px;
	font-size: 13px;
}

.menu li {
    list-style: none;
    margin: 0 10px;
	margin-right: 0px;
}

.menu li a {
    text-decoration: none;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.5s;
}

.menu li a:hover {
	transition: font-size 0.5s, color 1s;
	font-size: 15px;
    color: #00d9ff;
}

.nav input {
    width: 30px;
    height: 30px;
    cursor: pointer;
    opacity: 0;
}

.nav span {
    position: absolute;
    left: 30px;
    width: 30px;
    height: 3px;
    border-radius: 20px;
    background-color: #666;
    pointer-events: none;
    transition: 0.5s;
}

.nav input:checked ~ span {
    background-color: #ffbb00;
	margin-right: 5px;
}

.nav input:checked {
    background-color: #ffbb00;
	margin-right: 0px;
}

.nav span:nth-child(2) {
    transform: translateY(-8px);
}

.nav input:checked ~ span:nth-child(2) {
    transform: translateY(0) rotate(-45deg);
}
.nav span:nth-child(3) {
    transform: translateY(8px);
}

.nav input:checked ~ span:nth-child(3) {
    transform: translateY(0) rotate(45deg);
}

.nav, .menu {
    display: flex;
    justify-content: center;
    align-items: center;
}
  

body
{
	font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
	background-color: #f7f7f7;
	margin: 0;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	overflow: hidden;
	/* Empêche le défilement */
}


.grid-container
{
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100vh;
	background-color: #ffffff;
	padding: 20px;
	padding-right: 40px;
}

.row_grid
{
  grid-template-rows: auto 1fr;
  margin-bottom: 10px;
}

.container
{
	max-width: 600px;
	width: 100%;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
}

.message
{
	padding: 10px;
	margin-bottom: 10px;
}

.title_container{
justify-content: center;
align-items: center;
}
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@300;700;900&display=swap");
.sweet-title {
	font-family: "Exo 2", sans-serif;
	order: 2;
	color: #fde9ff;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 40px;
	line-height: 0.75em;
	text-align: center;
	text-shadow: 
	3px 1px 1px #4af7ff, 2px 2px 1px #165bfb,
	4px 2px 1px #4af7ff, 3px 3px 1px #165bfb, 
	5px 3px 1px #4af7ff, 4px 4px 1px #165bfb, 
	6px 4px 1px #4af7ff, 1px 1px 1px #165bfb, 
	7px 5px 1px #4af7ff, 1px 1px 1px #165bfb, 
	1px 1px 1px #4af7ff, 1px 1px 1px #165bfb, 
	1px 1px 1px #4af7ff;	
  }

  .sweet-title span {
	display:inline;
	position: relative;
  }
  .sweet-title span:before {
	content: attr(data-text);
	position: absolute;
	text-shadow: 
	2px 2px 1px #ffbb00, -1px -1px 1px #ffc935, 
	-2px 2px 1px #ffbb00, 1px -1px 1px #e2a600;
	z-index: 1;
  }
  


.chat-messages
{
	width: 400px;
	height: 300px;
	overflow-y: auto;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.chat-submit
{
	padding: 5px 10px;
	margin-top: 10px;
}


.chat-container
{
  width: 100%;
	border: 1px solid #ccc;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #f7f7f7;
	border-radius: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	height: calc(100vh - 200px);
	margin-top: 140px;
}
.user-message
{
	background-color: #37E8FC;
	color: #333;
	align-self: flex-end;
	max-width: 70%;
	border-radius: 20px;
	padding: 8px 12px;
	margin-bottom: 8px;
  	margin-top: 0px;
	font-size: 13px;
	border-top-right-radius: 0px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #ffffff;
}

.loading-icon {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-container p {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
}

#main-content {
  display: none; /* Masquer le contenu principal au chargement */
}


.loading-message {
  float: left;
  margin-bottom: 0px;
  display: none;
  padding: 0px;
  border-radius: 5px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #333;
  animation: blink 0.8s infinite;
}

.loading-message.show {
  display: block;
}

.logo_chargement{
  display: block;
}

.loading-message p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-decoration: underline;
}

@keyframes blink { 
	0% { opacity:0; }
	50% { opacity:1; } 
	100% { opacity:0; }
  }

.empty-message {
	float: left;
  margin-bottom: 0px;
  display: none;
  padding: 0px;
  border-radius: 5px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #ff0000;
  animation: blink 0.8s infinite;
}

.empty-message.show {
  display: block;
}

.empty-message p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-decoration: underline;
}

.bot-message
{
	background-color: #e2e2e2;
	color: #333;
	border-radius: 20px;
	padding: 8px 12px;
	margin-bottom: 8px;
  	margin-top: 0px;
	align-self: flex-start;
	max-width: 70%;
	font-size: 13px;
	border-top-left-radius: 0px;
}

.welcomeMessage
{
	background-color:#e2e2e2;
	color: #333;
	border-radius: 20px;
	padding: 8px 12px;
	margin-bottom: 8px;
  	margin-top: 0px;
	align-self: flex-start;
	max-width: 70%;
	font-size: 13px;
	border-top-left-radius: 0px;

}

.chat-submit
{
  margin-left: 45px ;
  margin-right: 10px ;
	width : 120px;
	--border: 2px;
	/* the border width */
	--slant: 0.5em;
	/* control the slanted corners */
	--color: #37E8FC;
	/* the color */
	font-size: 20px;
	padding: 0.4em 1.0em;
	border: none;
	cursor: pointer;
	font-weight: bold;
	color: var(--color);
	background:linear-gradient(to bottom left,var(--color)  50%,#0000 50.1%) top right,linear-gradient(to top   right,var(--color)  50%,#0000 50.1%) bottom left;
	background-size: calc(var(--slant) + 1.3*var(--border)) calc(var(--slant) + 1.3*var(--border));
	background-repeat: no-repeat;
	box-shadow:0 0 0 200px inset var(--s,#0000),0 0 0 var(--border) inset var(--color);
	clip-path:polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant),100% 100%, var(--slant) 100%,0 calc(100% - var(--slant)));
	transition: color var(--t,0.3s), background-size 0.3s;
}

.chat-submit:focus-visible
{
	outline-offset: calc(-1*var(--border));
	outline: var(--border) solid #000c;
	clip-path: none;
	background-size: 0 0;
}

.chat-submit:hover,.chat-submit:active
{
	background-size: 100% 100%;
	color: #fff;
	--t: 0.2s 0.1s;
}

.chat-submit:active
{
	--s: #0005;
	transition: none;
}

.form__group
{
	position: relative;
	padding: 15px 0 0;
	margin-top: 10px;
	width: 90%;
	margin-bottom: 10px;
}

.chat-input
{
	font-family: inherit;
	width: 100%;
	border: 0;
	border-bottom: 2px solid #9b9b9b;
	outline: 0;
	font-size: 1.rem;
	color: #1d1d1d;
	padding: 7px 0;
	background: transparent;
	transition: border-color 0.2s;
	&::placeholder
	{
		color: #9b9b9b;
	}

	&:placeholder-shown ~ .chat-input-label
	{
    	visibility:hidden;
		font-size: 1rem;
		cursor: text;
		top: 20px;
	}
}

.chat-input-label
{
	position: absolute;
	top: 0;
	display: block;
	transition: 0.2s;
	font-size: 1rem;
	color: #9b9b9b;
}

.chat-input:focus
{
	~ chat-input-label
	{
		position: absolute;
		top: 0;
		display: block;
		transition: 0.2s;
		color: #28f8ff;
		font-weight:700;
	}

	padding-bottom: 3px;
	font-weight: 700;
	border-width: 3px;
	border-image: linear-gradient(to right, #00cdd4,#28f8ff);
	border-image-slice: 1;
}

/* reset input */
.chat-input
{
	&:required,&:invalid
	{
		box-shadow:none;
	}
}

.reset-btn
{
  text-align: center;
  align-content: center;
  justify-content: center;
  margin-left: 10px ;
  margin-right: 45px ;
	margin-top: 10px;
	width : 120px;
	height: 39px;
	display: flex;
	float : left;
	align-items: center;
	--border: 2px;
	/* the border width */
	--slant: 0.5em;
	/* control the slanted corners */
	--color: #37E8FC;
	/* the color */
	font-size: 16px;
	padding: 0.4em 1.0em;
	border: none;
	cursor: pointer;
	font-weight: bold;
	color: var(--color);
	background:linear-gradient(to bottom left,var(--color)  50%,#0000 50.1%) top right,linear-gradient(to top   right,var(--color)  50%,#0000 50.1%) bottom left;
	background-size: calc(var(--slant) + 1.3*var(--border)) calc(var(--slant) + 1.3*var(--border));
	background-repeat: no-repeat;
	box-shadow:0 0 0 200px inset var(--s,#0000),0 0 0 var(--border) inset var(--color);
	clip-path:polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant),100% 100%, var(--slant) 100%,0 calc(100% - var(--slant)));
	transition: color var(--t,0.3s), background-size 0.3s;
}

.reset-btn:focus-visible
{
	outline-offset: calc(-1*var(--border));
	outline: var(--border) solid #000c;
	clip-path: none;
	background-size: 0 0;
}

.reset-btn:hover,.reset-btn:active
{
	background-size: 100% 100%;
	color: #fff;
	--t: 0.2s 0.1s;
}

.reset-btn:active
{
	--s: #0005;
	transition: none;
}

.titre_chat{
	color:#1d1d1d;
	margin-top : 4px;
	margin-bottom: 0px;
}

.titre_h2_container{
	width: 100%;
	background: linear-gradient(to bottom right,#7cf2ff,50%, #ffd256);
	padding-left: 10px;
	padding-right: 10px;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	border: 1px #1d1d1d solid;
	border-bottom: 0px;
	align-content: center;
	display: flex;
	align-items: center;
	justify-content: center;
	left: 60px;
}

.icon_chatbot{
	width: 70px;
	height: 70px;
	margin-right: 10px;
}

.chat_info_message{
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}