body {
	font-family: 'Mulish', sans-serif;
	font-size: 14px;
	font-weight: 400;
	border: 0;
	padding: 0;
	margin: 0;
}

.en, .fr {
	display: none;
}

h2.titre {
	font-weight: 700;
	font-size: 48px;
	padding: 0;
	margin: 0;
	text-align: left;

	display: inline-block;

	background: linear-gradient(135deg, #ef0491, #7928ca);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent; /* essentiel pour Safari */

}

input {
	outline: none;
	font-family: 'Mulish', sans-serif;
	font-size: 16px;
	border-radius: 20px;
	padding: 10px;
	appearance: none;
	background-color:#fff;
	color: #666;
	border: 1px solid #eee;
	width: 280px;
	margin-right: 20px;
	transition: all 300ms ease-out;
	box-shadow: inset -2px 2px #eee;
	position: relative;
}

input:focus {
	outline: none;
	color: #000;
	width: 60vw;
}

#chat-container {
	padding-bottom: 100px;
	vertical-align: bottom;
	overflow-y: scroll;
	position: fixed;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
	scrollbar-width: none;  /* Firefox */
}

#chat-container::-webkit-scrollbar {
	display: none;  /* Safari and Chrome */
}

#chat-messages {
	padding: 30vh 0 100px;
}

#form {
	position: fixed;
	width: 100%;
	bottom: 0;
	background: linear-gradient(to right, #ff5d58 0%, #ef0491 30%, #3560c8 90%);
	padding: 5px 0;
	text-align: right;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	transition: opacity 0.3s ease-in-out;
}

#chat-form {
	flex-grow: 1;
	text-align: right;
	margin-right: 10px;
}

#share-button {
	background-color: transparent;
	border: none;
	color: white;
	cursor: pointer;
	margin-left: 20px;
	padding: 8px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

#share-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

#share-button svg {
	width: 24px;
	height: 24px;
}


div.amelia {
	text-align: left;
}


div.user {
	text-align: right;
}

.chat-bubble {
	background-color:#E6F1F8;
	padding:15px 20px;
	border-radius: 45px;
	border-bottom-right-radius: 1px;
	display: inline-block;
	max-width: 65vw;
	margin: 10px 0 10px 20px;
	font-size: 18px;
	position: relative;
}

div.amelia .chat-bubble b,
div.amelia .chat-bubble strong  {
	color: #4d1288;
}

.chat-bubble img {
	max-width: 100%;
	height: 50vh;
	margin: 20px auto;
	display: block;
}

.chat-bubble p {
	padding: 0;
	margin: 8px 0;
}

div.user .chat-bubble {
	margin: 10px 20px 10px 0;
	background-color: #f5f5f7;
	border-radius: 45px;
	border-bottom-left-radius: 1px;
}

.chat-bubble a {
	color: #000;
	text-decoration: underline;
}

.chat-bubble a:hover {
	text-decoration: none;
}

.typing .dot {
	animation: typing 1200ms infinite ease-in-out;
	background-color: #6C96AD;
	box-shadow: 1px 1px rgba(0,0,0, .3);
	border-radius: 50%;
	height: 8px;
	margin: 0 4px;
	vertical-align: middle;
	width: 8px;
	display: inline-block;
}

.typing .dot:nth-child(1) {
	animation-delay: 200ms;
}
.typing .dot:nth-child(2) {
	animation-delay: 300ms;
}
.typing .dot:nth-child(3) {
	animation-delay: 400ms;
}
.typing .dot:last-child {
	margin-right: 0;
}

@keyframes typing {
  0% {
	transform: translateY(0px);
	background-color:#6C96AD;
  }
  28% {
	transform: translateY(-10px);
	background-color:#9EB9CA;
  }
  44% {
	transform: translateY(2px);
	background-color: #B5CBD9;
  }
  48% {
	transform: translateY(0px);
	background-color: #B5CBD9;
  }
}


.circles{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	z-index: -1;
}

.circles li{
	position: absolute;
	display: block;
	list-style: none;
	width: 20px;
	height: 20px;
	background: #f0f0ff;
	animation: animate 25s linear infinite;
	bottom: -150px;

}

.circles li:nth-child(1){
	left: 25%;
	width: 80px;
	height: 80px;
	animation-delay: 0s;
}


.circles li:nth-child(2){
	left: 10%;
	width: 20px;
	height: 20px;
	animation-delay: 2s;
	animation-duration: 17s;
}

.circles li:nth-child(3){
	left: 70%;
	width: 20px;
	height: 20px;
	animation-delay: 9s;
}

.circles li:nth-child(4){
	left: 40%;
	width: 60px;
	height: 60px;
	animation-delay: 0s;
	animation-duration: 23s;
}

.circles li:nth-child(5){
	left: 65%;
	width: 20px;
	height: 20px;
	animation-duration: 21s;
	animation-delay: 0s;
}

.circles li:nth-child(6){
	left: 75%;
	width: 110px;
	height: 110px;
	animation-delay: 3s;
}

.circles li:nth-child(7){
	left: 35%;
	width: 150px;
	height: 150px;
	animation-duration: 26s;
	animation-delay: 7s;
}

.circles li:nth-child(8){
	left: 50%;
	width: 25px;
	height: 25px;
	animation-delay: 15s;
	animation-duration: 45s;
}

.circles li:nth-child(9){
	left: 20%;
	width: 15px;
	height: 15px;
	animation-delay: 2s;
	animation-duration: 35s;
}

.circles li:nth-child(10){
	left: 85%;
	width: 150px;
	height: 150px;
	animation-delay: 0s;
	animation-duration: 11s;
}

.suggestions {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  margin-top: 18px;

  font-size: 18px;
  font-weight: 550;
  text-align: left;

  background-color: white;
  border-radius: 45px;
  z-index: 1;
  border: none;

  box-shadow: 0 0 5px rgba(163, 0, 255, 0.4),
			  0 0 15px rgba(239, 4, 145, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Contour dégradé */
.suggestions::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 45px;
	padding: 2px;
	background: linear-gradient(135deg, #ef0491, #7928ca);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: destination-out;
	mask-composite: exclude;
	z-index: -1;
}

/* Texte en dégradé */
.suggestions span {
  background: linear-gradient(135deg, #ef0491, #7928ca);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent; /* essentiel pour Safari */
}

.suggestions:hover {
	cursor: pointer;
  transform: scale(1.02);
  box-shadow: 0 0 18px rgba(163, 0, 255, 0.6),
			  0 0 36px rgba(239, 4, 145, 0.3);
}


@keyframes animate {

	0%{
		transform: translateY(0) rotate(0deg);
		opacity: 1;
		border-radius: 25%;
	}

	100%{
		transform: translateY(-1000px) rotate(720deg);
		opacity: 0;
		border-radius: 50%;
	}

}


.survey-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.survey-popup.hidden {
	opacity: 0;
	pointer-events: none;
	display: none;
}

.survey-content {
	background: white;
	padding: 30px;
	border-radius: 10px;
	max-width: 500px;
	width: 80%;
	position: relative;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #999;
}

.close-button:hover {
	color: #333;
}

.survey-content h3 {
	color: #f9359c;
	margin-top: 0;
	font-size: 24px;
}

.rating-container {
	margin: 20px 0;
	text-align: center;
}

.rating {
	font-size: 32px;
	display: inline-block;
}

.star {
	color: #ddd;
	cursor: pointer;
	display: inline-block;
	transition: color 0.2s;
}

.star:hover,
.star:hover ~ .star,
.star.selected,
.star.selected ~ .star {
	color: #FFD700;
}

#rating-text {
	margin-top: 10px;
	font-style: italic;
	color: #666;
}

#feedback-text {
	width: 100%;
	height: 100px;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 5px;
	resize: none;
	font-family: 'Mulish', sans-serif;
}

.submit-button {
	background: linear-gradient(to right, #ff5d58, #ef0491);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	margin-right: 10px;
}

.skip-button {
	background: #eee;
	color: #666;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
}

.submit-button:hover {
	opacity: 0.9;
}

.skip-button:hover {
	background: #ddd;
}

.typing-question {
	display: block;
	text-align: left;
	margin: 30px auto 10px;
	padding: 15px 30px 0;
	min-height: 30px;
	position: relative;
	font-size: 24px;
	font-weight: 700;
	color: #999;
	transition: all 0.3s ease-out;
	font-style: italic;
	text-shadow: 2px 2px #fff;
}

.typing-question:hover {
  cursor: pointer;
}


.service {
	position: absolute;
	top: 0;

	font-size: 13px;
	color: #888;
	padding: 20px 30px;
}

.service a {
	color: #666;
}

@media screen and (max-width: 608px) {
	.service {
		font-size: 12px;
		padding: 0 10px;
	}

	h2.titre {
		font-size: 28px;
	}

	.chat-bubble {
		font-size: 17px;
	}

	.typing-question {
		display: none;
	}

	#chat-messages {
		padding-top: 45vh;
	}
}
