/*
! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
  margin: 0;
  padding: 0;
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.table {
  display: table;
}
.hidden {
  display: none;
}
.border-collapse {
  border-collapse: collapse;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.border {
  border-width: 1px;
}
.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgb(161 98 7 / var(--tw-text-opacity));
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

 /* HEADER */


.navbar, .navbar-iframe {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10; 
  height: 54.58px;
  /*background-color: #ffffff; */
  background-color: rgba(27, 27, 27, 0.61);
  padding: 4px;
  color: #ffffff;
  display: flex;
  align-items: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.navbar, .navbar-iframe, .rocket-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10; 
  height: 54.58px;
  padding: 4px;
  display: flex;
  align-items: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.navbar {
  padding: 4px;
  justify-content: space-between;
  color: #1d1b4b;
  background-color: #ffffff;
}

.navbar-iframe {
  height: 30px;
  border-bottom: 1px solid #e8f5fb;
  color: #1d1b4b;
  background-color: #ffffff;
}

.rocket-navbar {
  color: #ffffff;
  background-color: rgba(27, 27, 27, 0.61);
}

.navbar-brand {
  margin: 0;
  font-weight: bold;
  text-align: center;
  color: #1d1b4b;
  text-decoration: none;
  display: inline-block; 
  padding: 0;
}

.navbar-brand:hover, 
.navbar-brand:focus {
  text-decoration: none;
  color: #275a81;
  border-radius: 4px;
}

.navbar-chat-brand {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #1d1b4b;
  text-decoration: none;
  display: inline-block;
  padding: 0;
}

.chat_nav {
  border-bottom: 1px solid #e8f5fb;
}

.brand {
  color: #1d1b4b;
  font-weight: bold;
  text-align: center;
  padding: 4px;
  background-color: #ffffff;
  margin-bottom: 6px;
}

.brand:hover {
  color: #275a81;
}

.brand-top, .brand-top-iframe {
  font-weight: bold;
  display: block; /* S'assure que "HUMAN" soit sur sa propre ligne */
  font-size: 1.1em;
  letter-spacing: 0.04em;
}

.brand-bottom, .brand-bottom-iframe {
  text-align: center;
  display: block; /* S'assure que "Augment" soit sur sa propre ligne */
  font-size: 0.8em;
  letter-spacing: 0.08em;
  font-weight: normal; /* Moins de poids pour différencier de "HUMAN" */
}

.brand-container-iframe {
  display: flex;
  flex-direction: column;  /* Pour aligner les éléments verticalement */
  align-items: center;  /* Pour aligner le texte à droite */
}

.nav-links {
  font-size: 14px;
  justify-content: center;
  display: flex;
  gap: 10px;
  flex-grow: 1;
}

.close-button {
  position: absolute;  /* Positionnez le bouton de fermeture indépendamment */
  top: 0;
  right: 6px;  /* Espace depuis la droite */
  color: #1d1b4b;  /* Couleur du texte */
  cursor: pointer;  /* Change le curseur en main */
  font-size: 1.4em;  /* Taille de l'icône */
}

.close-button:hover {
  color: #98c4d7;  /* Change la couleur lors du survol */
}

.notice:empty, .alert:empty {
  display: none;
}

.navbar-logo {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.user-info-dropdown, .user-home-dropdown, .rocket-home-dropdown {
  font-size: 14px;
  margin-top: auto;
  position: relative;
  display: inline-block;
  padding: 10px 24px 10px;
}

.rocket-user-email {
  color: #ffffff;
}

.user-email, .home-dropdown {
  color: #519ebf;
}

.user-info-dropdown {
  color: #519ebf;
  border-top: 1px solid #a9d7ea;
}

.user-info-dropdown:hover {
  background-color: #ddd;
}

.dropdown, .home-dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-content, .home-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content {
  bottom: 100%;
  left: 0;
}

.home-dropdown-content {
  right: 0;
  min-width: 180px;
}

.dropdown-content.show, .home-dropdown-content.show {
  display: block;
  padding: 10px 16px;
  border-radius: 4px;
}

.dropbtn {
  margin-left: 8px;
}

.dropbtn:hover .dropdown-content {display: block;}

.email-account {
  font-size: 16px;
  border-bottom: solid 1px #519ebf;
  margin-bottom: 10px;
}

.link-account, .signout  {
  margin-top: 10px;
}

.signout {
  padding-top: 6px;
  border-top: solid 1px #519ebf;
}

.link-account a, .signout button {
  padding: 6px 0;
}

.link-account a:hover, .signout button:hover {
  background-color: #ddd;
  text-decoration: none;
}

/* HOME */

body {
  /* background-color: #f4f6f8; */
  background-color: #ffffff;
  font-family: 'Roboto', "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  /*padding-top: 54.58px;*/
}

.padding-top-head-desktop {
  padding-top: 54.58px;
}

.title_home {
  position: absolute; /* Passe la position à absolue pour pouvoir le placer où vous voulez */
  top: 6%; /* Place le titre à 20px du bas de la vidéo, vous pouvez ajuster la valeur */
  left: 50%; /* Centre horizontalement */
  transform: translateX(-50%); /* Assure que le titre est bien centré */
  font-size: 90px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  width: 80%;
  z-index: 5; /* Assurez-vous que le texte est au-dessus de la vidéo */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.background-home {
  position: relative;
  width: 100%;
  height: 100vh; /* Occupe toute la hauteur de la fenêtre */
  overflow: hidden;
}

.background-home video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/*.rocket-background {
  background-color: #6597ac;;
}*/

#presentation-video {
  width: 800px;
  height: 460px;
}

.annonce {
  position: absolute;
  background-color: #f6fcff;
  margin: 0 auto;
  padding: 10px 0;
  margin: 20px auto;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.annonce p {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: #666;
}

.btn-container {
  display: block;
  text-align: center;
  margin: 20px 0;
}

.btn-start, .btn-white, .btn-white-mobile {
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-white-header {
  text-decoration: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-update {
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-start, .btn-update {
  color: #ffffff;
  background-color: #4890b2;
}

.btn-start:hover, .btn-update:hover {
  background-color: #60acd4;
}

.btn-white, .btn-white-mobile, .btn-white-header {
  color: #519ebf;
  background-color: #ffffff;
  border: 1px solid #bbeffd;
}

.btn-white:hover, .btn-white-mobile:hover, .btn-white-header:hover {
  background-color: #f0faff;;
}

.annonce .btn:hover {
  background-color: #d0e7f3;
}

.features {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.feature {
  text-align: center;
  background-color: #f6fcff;
  padding: 20px; /* Cela ajoute de l'espace à l'intérieur de chaque feature */
  box-sizing: border-box; /* Inclut padding dans la largeur totale */
  min-height: 420px; /* Hauteur minimale pour chaque feature */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrer le contenu verticalement */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  border-radius: 12px;
  width: 52%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature.show {
  opacity: 1;
  transform: translateY(0);
}

.feature:hover {
  transform: scale(1.02); /* Zoom léger */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Ombre plus intense */
  border: 1px solid #1d1b4b; /* Bordure colorée */
}

.feature:nth-child(1) {
  transition-delay: 0.2s;
}

.feature:nth-child(2) {
  transition-delay: 0.4s;
}

.feature:nth-child(3) {
  transition-delay: 0.6s;
}

.feature h2 {
  font-size: 32px;
  color: #1d1b4b;
}

.feature p {
  font-size: 18px;
  color: #9d9d9d;
}

.feature span {
  margin-top: 10px;
  font-size: 22px;
  color: #1d1b4b;
}

.feature .icon {
  color: #1d1b4b;
  font-size: 30px;
}

.feature img {
  margin: 0 auto;
  margin-top: 10px;
  width: 82%;
  border-radius: 6px;
}

.video-annonce {
  margin: 60px 0;
  padding: 10px 0;
}

#presentation-video {
  margin: 20px auto;
  background-color: #f6fcff;
  border-radius: 6px;
}

.icon {
  /* Ajoutez vos styles d'icônes ici */
}

footer {
  background-color: #f4f6f8;
  color: #666;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #ebebeb;
}

footer a {
  color: #519ebf;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.link {
  color: #519ebf;
}

.link:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* Vous pourriez avoir une classe pour l'affichage aussi */
.visible {
  display: block;
}

.separator, .small-separator {
  border: 1px solid #e9f8ff;
}

.separator {
  margin-bottom: 10px;
  margin-top: 10px;
}

.small-separator {
  margin: 12px auto;
  width: 200px;
}

#consent-banner {
  display: none;
  position: fixed; 
  bottom: 0; 
  width: 100%; 
  background: #f5f5f5; 
  padding: 10px; 
  text-align: center;
  z-index: 10;
}

#consent-accept {
  color: #519ebf;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #e8f5fb;
  border: 1px solid #bbeffd;
}

#consent-accept:hover {
  background-color: #d0e7f3;
}

#consent-refuse:hover {
  text-decoration: underline;
}

.terms-header, .contact-header, .offer-header, .privacy-header  {
  max-width: 800px;
  margin: 42px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.terms, .contact, .offer, .privacy, .articles {
  min-height: 50vh;
  margin: 30px auto;
}

.signin-container, .signup-container {
  display: flex;
  flex-direction: column;
}

.signin-container {
  min-height: 94vh;
}

.signup-container {
  min-height: 84vh;
}

.signin-content, .signup-content {
  flex: 1;
  padding: 50px;
}

.term-content, .contact-content, .offer-content, .privacy-content {
  padding: 0 200px;
}

.contact-content {
  text-align: center;
}

.terms-title, .contact-title, .offer-title, .privacy-title  {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #519ebf;
  margin-bottom: 20px;
}

.offers-container {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  text-align: center;
}

.offer {
  flex-basis: 45%;
  padding: 20px;
  margin: 20px;
}

.free-trial, .pro-offer, .team-offer, .subscription-offer {
  border: 1px solid #d0e4ed;
  border-radius: 4px;
}

.offer ul {
  list-style-type: none; /* Supprime les puces par défaut */
  padding: 0;
}

.offer li {
  margin-bottom: 10px;
  font-size: 15px;
}

.offer h2, .offer-content h2 {
  color: #507784;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.offer-content h2 {
  text-align: center;
}

.subscribe {
  margin-top: 52px;
  text-align: center;
}

.btn-subscribe {
  background-color: #4890b2;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-subscribe:hover {
  background-color: #60acd4;
}

.company-selector {
  margin: 10px 0;
}

.subscription_info {
  max-width: 600px;
}

.token_explanation {
  font-size: 10px;
  font-style: italic;
}

.cancel_subscription, .subscription_offers {
  color: #519ebf;
  padding-top: 10px;
  border-top: 1px solid #519ebf;
}

.cancel_subscription a:hover, .subscription_offers a:hover {
  text-decoration: underline;
}

.inactive_subscription {
  margin-bottom: 10px;
}

.chat-button, .iframe-avatar, .message-indicator {
  position: fixed;          /* Le bouton reste fixe par rapport à la fenêtre */
  border: none;             /* Pas de bordure */
  cursor: pointer;          /* Change le curseur en main lors du survol */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre pour un effet 3D */
}

.chat-button {
  bottom: 10px;             /* Distance du bas de l'écran */
  right: 10px;              /* Distance de la droite de l'écran */
  z-index: 1000;            /* Assure que le bouton est au-dessus d'autres éléments */
  padding: 16px;            /* Espace autour du contenu du bouton */
  background-color: #3498db; /* Couleur de fond (bleu) */
  color: white;             /* Couleur du texte */
  border-radius: 50%;       /* Bouton rond */          /* Assure que le bouton est au-dessus d'autres éléments */
}

.iframe-avatar {
  bottom: 48px;             /* Distance du bas de l'écran */
  right: 40px;              /* Distance de la droite de l'écran */
  z-index: 1001;            /* Assure que le bouton est au-dessus d'autres éléments */
}

.message-indicator {
  color: red;
  font-weight: 600;
  bottom: 80px;             /* Distance du bas de l'écran */
  right: 40px;              /* Distance de la droite de l'écran */
  z-index: 1001;            /* Assure que le bouton est au-dessus d'autres éléments */
}

.chat-button:hover {
  background-color: #2980b9; /* Change la couleur de fond au survol */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* Augmente l'ombre au survol */
}

#chat-iframe {
  display: none;
  width: 360px;
  height: 580px;
  position: fixed;
  bottom: 10px;
  right: 50px;
  border: 1px solid #d1e5ee;
  background: white;
  border-radius: 5px;
  z-index: 1001;
}

.no-scroll {
  overflow: hidden;
}

.chat-window, .user-right-section-iframe {
  margin-top: 30px;
}

.powered {
  margin-left: 4px;
  font-style: italic;
  color: #ccc;
  font-size: 13px;
}

/* BLOG */

.blog {
  max-width: 800px;
  margin: 42px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog h1 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #519ebf;
  margin-bottom: 20px;
}

.blog p {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

.category {
  text-align: right;
}

.articles h1 {
  text-align: center;
}

.article_url {
  text-align: center;
}

.article_url:hover {
  text-decoration: underline;
}

.article {
  width: 80%;
  margin: 0 auto;
}

.article p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #666;
}

.btn-new-article {
  float: right;
}

.underline:hover {
  text-decoration: underline;
}

.subscribe-content {
  min-height: 50vh; 
  margin-bottom: 20px;
  text-align: center;
}

.subscribe-content p {
  margin-bottom: 20px;
}

/* DEVISE */

.form, .edit-form {
  text-align: center;
}

.title_form {
  font-weight: 500;
  margin: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  margin-right: 8px;
  margin-bottom: 8px;
  color: #7591a1;
}

.field input, .field textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.field input {
  min-width: 30%;
}

.field textarea {
  min-width: 60%;
  min-height: 125px;
}

.actions input[type="submit"], #launch-button {
  background-color: #519ebf;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.actions input[type="submit"]:hover {
  background-color: #42839e;
}

.actions input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#user_remember_me {
  min-width: unset !important;
}

.shared-links {
  margin-top: 20px;
}

.dashboard-back-link {
  margin-top: 12px;
}

#error_explanation {
  color: red;
}

/* GOOGLE */

.google-login .google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white; /* Fond blanc */
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.google-login .google-logo {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.google-login .google-btn:hover {
  background-color: #f1f1f1; /* Couleur de fond au survol */
}

/* DASHBOARD */

.dashboard-container, .settings-container, .configuration-container, .company-container, .subscriptions-container {
  display: flex;
  height: 100vh;
  /*justify-content: space-around;*/
  /*background-color: #f5f5f5;*/
  background-color: #f8fbfe;
}

.main-container {
  display: flex;
  height: 100vh;
  /*height: calc(100vh - 54.58px);*/
  /*min-height: 100vh;
  justify-content: space-around;*/
  /*background-color: #f9feff;*/
  /*background-color: #f8fbfe;*/
  background-color: #ffffff;
}

.chat-container {
  display: flex;
  height: calc(100vh - 54.58px);
  background-color: #ffffff;
}

.documents-container {
  display: flex;
  height: 100vh;
  flex-direction: row;
  overflow: hidden;
  background-color: #f8fbfe;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .main-container, .chat-container {
      flex-direction: column;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  /* background-color: #f4f6f8;*/
  background-color: #f1f1f1;
  /* background-color: #ffffff;*/
  padding: 10px 0;
  border-right: 1px solid #eaebec;
}

.sidebar-item, .companies {
  display: block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.sidebar-item {
  color: #303030;
  padding: 10px 20px;
}

.sidebar-item .text {
  position: absolute;
  width: 124px;
  left: 4%;
  background-color: #555; 
  color: #fff;
  text-align: center;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-item-company {
  color: #1d1b4b;
  padding: 5px;
  margin-bottom: 10px;
}

.sidebar-item-company .text {
  font-weight: 600;
  font-size: 11px;
}

.sidebar-item:hover .text, .sidebar-item-company:hover .text {
  visibility: visible;
  opacity: 1;
}

.sidebar a:hover, .sidebar-item-company:hover {
  background-color: #ddd;
}

.sidebar-item-active {
  background-color: #ddd; 
  border-left: 3px solid #519ebf;;
}

.dashboard-content {
  flex: 1;
  margin: 20px;
  overflow-y: auto;
}

.document-content {
  margin: 20px;
  flex: 1; /* Prend l'espace restant à côté de la sidebar */
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* Active le scroll vertical uniquement pour ce conteneur */
  overflow-x: hidden; /* Empêche le débordement horizontal */
  width: 100%;
  max-width: 100vw; /* Empêche les débordements horizontaux */
}

.wrap-dashboard-section {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.section-document {
  padding: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #e6eaf0;
}

.grid-container-wrapper {
  flex: 1;
  overflow-x: auto;
  overflow-y: auto;
  /*max-height: calc(100vh - 150px);
  width: 100%;*/
  box-sizing: border-box;
  padding-bottom: 1px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)); /* Ajuste les colonnes pour bien répartir l'espace */
  gap: 1px; /* Espace entre les cellules pour éviter les chevauchements */
  width: 100%;
  box-sizing: border-box;
}

/* Chaque ligne de la grille */
.grid-row {
  display: contents; /* Utilise contents pour éviter des conteneurs supplémentaires */
}

.grid-cell {
  padding: 4px 6px;
  text-align: left;
  white-space: normal; /* Permet le wrapping du texte sauf pour les cas spécifiques */
  overflow: hidden; /* Laisse le contenu s'afficher correctement */
  text-overflow: ellipsis; /* Évite de couper le contenu par défaut */
}

.grid-cell.filename {
  white-space: nowrap; /* Empêche le wrapping du texte pour les noms de fichier */
  overflow: hidden; /* Cache le contenu excédentaire */
  text-overflow: ellipsis; /* Ajoute des points de suspension si le texte dépasse */
}

.grid-header {
  font-weight: bold;
  background-color: #f0f0f0;
  color: #1d1b4b;
}

.modal-open {
  position: fixed;
  width: 100%;
}

.document_name {
  text-align: center;
  margin-bottom: 10px;
}

.border-head {
  border-bottom: 1px solid #519ebf;
}

.border-right {
  border-right: 1px solid #519ebf;
}

.border-bottom {
  border-bottom: 1px solid #cae2ed;
}

.btn-save-doctype {
  padding: 6px 10px;
  margin: 0;
}

.actions-info  {
  color: black;
  font-weight: normal;
  font-style: italic;
  font-size: 10px;
}

.main-content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e6eaf0;
}

.wrap-content {
  display: flex;
}

#wrap-rdv-container, #wrap-user-assistant, #wrap-admin-assistant {
  overflow-y: auto;
}

#wrap-admin-assistant {
  background-color: #f8fbfe;
}

.wrap-main-content {
  flex: 2;
}

.section {
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #e6eaf0;
}

.dashboard-section {
  flex: 1 1 200px; /* Chaque section peut grandir pour remplir l'espace, mais commence à 200px */
  margin-right: 20px;
}

.main-section {
  display: flex;
  gap: 10px;
}

.right-section, .user-right-section {
  overflow-y: auto;
  background-color: #f8fbfe;
}

.right-section {
  flex: 2;
}

.user-right-section {
  flex: 1;
}

.section-title {
  font-weight: bold;
  color: #1d1b4b;
  margin-bottom: 20px;
}

.google_calendar, .google_doc {
  flex: 1;
}

.notice, #browser-notice, .offer-notice, #conversation_status {
  color: #d1a110;
  border: 1px solid #ffeebb;
}

.alert {
  color: red;
  border: 1px solid red;
}

.notice, #browser-notice, .alert, .offer-notice, #conversation_status {
  text-align: center;
  position: fixed;
  background-color: #ffffff;
  transform: translateX(-50%);
  left: 50%;
  top: 12px;
  padding: 10px;
  border-radius: 5px;
  z-index: 1000;
}

.company-menu {
  display: flex;
  border-bottom: 1px solid #e9f2f6;
}

.item-company {
  display: flex;
  align-items: center;
  margin-right: 15px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  padding: 6px;
}

.item-company .fa-building {
  margin-right: 5px;
}

.item-company:hover {
  background-color: #e8eef5;
}

.selected-company {
  background-color: #dae1e8 !important;
}

.form-section {
  padding: 8px;
  border-radius: 4px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #e6eaf0;
}

.flex-form {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex-form .form-group {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Espace entre les groupes de formulaires */
  border-bottom: 1px solid #519ebf;
}

.flex-form .form-label {
  margin-right: 10px; /* Espace entre le label et le champ de sélection */
}

.flex-form .form-control {
  margin-right: 10px; /* Espace après le champ de sélection */
}

.flex-form .btn {
  margin-top: 0; /* Ajustez si nécessaire */
}

.btn-form {
  color: #519ebf;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #e8f5fb;
  border: 1px solid #bbeffd;
  cursor: pointer;
}

.btn-form:hover {
  background-color: #d0e7f3;
}

.stat_value {
  font-weight: 600;
}

.select_field {
  margin-right: 6px;
  padding: 6px;
  border: 1px solid #b2b1b1;
  border-radius: 4px;
  cursor: pointer;
}

/* COMPANIES */

.team-list {
  color: #a4bccc;
  font-size: 14px;
}

.team-list:hover {
  text-decoration: underline;
}

.user {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #c0dfee;
}

.avatar_update {
  margin-top: 10px;
  font-size: 14px;
}

.avatar_update .actions {
  margin-top: 10px;
}

.avatar_file {
  margin-bottom: 4px;
}

/* CHATS */

.search-section {
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #e6eaf0;
  margin-bottom: 12px;
}

.private-section {
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #e6eaf0;
  margin-bottom: 12px;
}

.private-section h1 {
  text-align: center;
}

.private-list-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.create-chat-button {
  color: #519ebf;
  font-size: 14px;
}

.private-room-link {
  color: #519ebf;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid #d8f3ff;
  padding: 4px 0;
}

.private-room-link:hover {
  text-decoration: underline;
}

.chat_rooms_search {
  display: flex;
  flex-direction: column; /* Change the flex direction to column */
}

.chat_rooms_filter {
  display: flex;
  flex-direction: column; /* Change the flex direction to column */
}

.search-field-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px; /* Add some space below the search bar */
}

.search-input {
  flex-grow: 1; /* Let the search input grow to fill the space */
  margin-right: 0.5em; /* Spacing between input and reset button */
  padding: 4px;
  border: 1px solid #dee7e9;
  border-radius: 2px;
  font-size: 14px;
}

.reset-button {
  color: #519ebf;
  font-size: 13px;
}

.filter-buttons {
  display: flex;
  justify-content: flex-start; /* Align buttons to the start of the flex container */
  font-size: 12px;
}

.filter-button {
  background-color: transparent;
  border: 1px solid #ccc;
  padding: 0.2em;
  margin-right: 0.4em; /* Spacing between buttons */
  cursor: pointer;
  border: none;
}

.filter-button.selected {
  background-color: #ADD8E6; /* Bleu ciel */
  color: white;
}

.filter-button:not(.selected):hover {
  background-color: #f0f0f0;
}

.no-results {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.private-list-title, .public-list-title {
  font-size: 14px;
}

.public-list-title {
  text-align: center;
}

.public-list {
  max-height: 62vh;
  overflow-y: auto;
}

/* DOCUMENTS */

.document-item {
  padding: 4px;
}

.document-item .text {
  position: absolute;
  width: 124px;
  margin: 30px 0 0 -20px;
  background-color: #555; 
  color: #fff;
  text-align: center;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s, visibility 0.3s;
}

.document-item:hover .text {
  visibility: visible;
  opacity: 1;
}

.document-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.document a:hover, .document-item-company:hover {
  background-color: #ddd;
}

.document_type_form form {
  display: flex;
}

#document_type {
  width: 62%;
  margin: 20px auto;
  border: 2px solid #d6d6d6;
  border-radius: 4px;
  cursor: pointer;
}

#document_type select {
  padding: 12px;
  width: 100%;
}

.back-link {
  margin-top: 10px;
}

.back-link, .edit-link {
  color: #1d1b4b;
  text-decoration: none;
}

.back-link:hover, .edit-link:hover {
  text-decoration: underline;
}

.placeholder-text-hover {
  transition: background-color 0.3s, color 0.3s;
}

.placeholder-text-hover:hover {
  background-color: #ffffe0; /* Light yellow highlight */
  color: #000; /* Black text */
}

/* CHAT */

/*#chat-room {
  margin: 0 20px;
  padding: 20px;
  border-radius: 10px;
}*/

#chat-room, #admin-chat-room {
  height: 100%;
}

.list-content {
  flex: 2;
  padding-top: 8px;
  border-right: 1px solid #eaebec;
  background-color: #f8fbfe;
}

 .chat-content {
  flex: 5;
  padding-top: 4px;
 }

.chat-setting {
  display: flex;
  align-items: start;
}

#update_chat_room {
  font-size: 14px;
  margin: 0 4px;
}

 .update_chat_room {
  font-size: 15px;
}

.admin-chat-title  {
  font-size: 14px;
}

#reset_form {
  font-size: 14px;
  float: right;
  margin-left: 4px;
}

.list-element {
  padding: 0 4px 4px 4px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #e6eaf0;
  align-items: center;
}

.list-element.selected, .private-room.selected {
  background-color: #f0f8ff;
}

.avatar, .user-avatar {
  width: 48px;
  height: 52px;
  border-radius: 50%;
}

.avatar {
  background-color: #e0e0e0;
  font-size: 24px;
  color: #6f939e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar {
  -o-object-fit: cover;
     object-fit: cover;
  overflow: hidden;
}

.sender {
  display: flex;
  justify-content: center;
}

.sender_and_avatar {
  min-width: 56px;
}

/*.avatar img {
  max-width: 100%;
}*/

.list-element-content {
  display: flex;
  margin-top: 6px
}

.list-element-content .avatar {
  margin-right: 15px;
}

.chat-header {
  width: 100%;
}

.chat-info, .chat-preview {
  display: flex;
}

.chat-room-link {
  flex: 1;
  font-weight: 500;
  font-size: 13px;
  text-align: left;
}

.chat-room-link:hover {
  text-decoration: underline;
}

.chat-last-message {
  font-size: 10px;
  color: #a4a9ab;
  float: right;
  font-weight: 500;
}

.message-preview {
  font-size: 13px;
  color: #a4a9ab;
  margin: 10px 0;
}

#mobile-chat-header, #chat-header {
  display: flex;
  justify-content: space-between;
  padding: 6px 6px 2px;
  font-size: 12px;
}

#mobile-chat-header{
  align-items: center;
}

#chat-title {
  display: flex; 
  justify-content: space-between;
}

#chat-config {
  margin-left: auto;
  border-left: 1px solid #88b2ce;
  padding-right: 6px;
  float: right;
}

#chat-config-btn {
  margin-left: 4px;
  font-size: 13px;
}

#ai_activation, #user_ai_activation {
  cursor: pointer;
}

#chat-config .toggle {
  padding: 2px;
}

.chat-preview .toggle {
  margin-left: auto;
  margin-top: auto;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: #519ebf;
}

input:focus + .switch-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .switch-slider:before {
  transform: translateX(18px);
}


/*#messages_container {
  height: 400px;
  overflow-y: auto;
  border: 1px solid #e6eaf0;
  background-color: #ffffff;
  padding: 10px;
}*/

/*#messages_container {
  min-height: 440px;
  overflow-y: auto;
  border: 1px solid #e6eaf0;
  background-color: #ffffff;
  padding: 10px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-size: 15px;
}*/

#messages_container {
  flex: 5;
  overflow-y: auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  font-size: 14px;
}

/*#inner_messages_container {
  margin: 20px 160px;
}*/

#inner_messages_container {
  margin: 0 auto; /* Marge verticale fixe, horizontale automatique */
  max-width: 720px; /* Largeur maximale du conteneur de messages */
  width: 100%; /* Utiliser toute la largeur disponible */
}

#messages_container pre {
  font-size: 13px;
  line-height: 1.2;
  white-space: pre-wrap;
  background-color: #f5f5f5; /* Fond gris clair pour le bloc de code */
  padding: 10px;            /* Padding pour un peu d'espace autour du texte */
  border-radius: 5px;       /* Bords arrondis */
  overflow-x: auto;         /* Permettre le défilement horizontal si nécessaire */
}

#messages_container code {
  font-family: 'Courier New', monospace; /* Police à espacement fixe pour le code */                        /* Couleur du texte pour une meilleure lisibilité */
}

#loading-rdv-layer, #loading-contact-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Make sure it is above other elements */
}

.layer-hidden {
  display: none !important;
}

.spinner .loader {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid #1d1b4b; /* Blue */
  border-radius: 50%;
  height: 40px;
  animation: spin 2s linear infinite;
  padding-left: 8px;
}

.public-section .spinner .loader {
  margin: auto;
  margin-top: 20px;
  width: 40px;
}

#inner_messages_spinner {
  width: 40px;
  margin: auto;
}

#inner_messages_spinner {
  margin-bottom: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*#messages_container > :last-child {
  margin-top: auto;
}

#inner_messages_container {
  margin-top: auto;
}*/

.message {
  margin-bottom: 4px;
  padding: 4px;
  display: flex; 
  align-items: center;
}

.user_message, .ai_user_message {
  justify-content: flex-end;
}

.question_submit:disabled {
  background-color: #e0e0e0; /* Couleur de fond grise */
  cursor: not-allowed; /* Curseur indiquant que l'input est désactivé */
  /* ... autres styles */
}

.user_message_content, .ai_message_content, .admin_message_content,  .introduction_message,  .ai_user_message_content {
  border-radius: 6px;
  padding: 8px;
  margin: 4px;
  max-width: 100%;
  overflow-wrap: break-word;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

.ai_message_content, .admin_message_content, .introduction_message {
  background-color: #ececec;
}

.user_message_content, .ai_user_message_content {
  background-color: #e3f1ff;
}

#wrap-input-and-buttons, #wrap-iframe-input-and-buttons {
  /*flex: 1;*/
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
  padding: 8px 0 2px 4px;
}

#wrap-iframe-input-and-buttons {
  margin-bottom: 3vh;
  padding-left: 10px;
}

#wrap_audio_container {
  display: flex;
  width: 100%;
}

#audio_range {
  display: block;
  color: #1d1b4b;
}

#listen_message {
  color: #519ebf;
}

#listen_message i {
  font-size: 18px;
}

.question_field {
  font-size: 14px;
  padding: 8px;
  width: 90%;
  min-height: 42px;
  max-height: 180px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e6eaf0;
  overflow-y: auto;
}

.question_field::-moz-placeholder {
  vertical-align: middle;
  line-height: normal; 
}

.question_field,
.question_field::placeholder {
  vertical-align: middle;
  line-height: normal; 
}

.question_field:focus {
    outline: none;
}

.question_submit {
  position: relative;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #519ebf;
  min-height: 42px;
  transition: box-shadow 0.2s ease-in-out;
}

.question_submit:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.admin_field {
  padding: 12px 8px 6px 26px;
}

.admin_email_field {
  padding: 12px 8px 6px 8px;
}

.user_field {
  padding: 12px 8px 6px 8px;
}

.textarea-container {
  position: relative; /* Permet de positionner le bouton par rapport à ce conteneur */
}

.download-btn {
  position: absolute; /* Positionne absolument par rapport au conteneur */
  left: 6px; /* Aligné à gauche */
  bottom: 6px; /* Aligné en bas */
  /* Ajoutez d'autres styles pour le bouton ici si nécessaire */
}


.file-name-display {
  font-size: 13px;
  padding: 4px;
  background-color: #f3f3f3; /* Fond léger pour mettre en valeur le nom du fichier */
  border-radius: 5px;
  display: none; /* Masquer par défaut */
}

#close_file {
  display: inline;
  border-radius: 50%;
  border: 1px solid #cfc2c2;
  padding: 0px 4px;
  color: #5c5353;
}

.button-container, .email-button-container {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.button-container {
  margin-bottom: 12px;
}

.user_message_button, .admin_message_button {
  margin-right: 20px;
}

#start_recording_button {
  margin: 0 12px 0 0;  /* Ajoute un espace entre les boutons */
}

#stop_recording_button {
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  height: 30px;
  transition: box-shadow 0.2s ease-in-out;
}

/*#start_recording_button, #stop_recording_button {
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  min-height: 44px;
  transition: box-shadow 0.2s ease-in-out;
}*/

/*#start_recording_button {
  background-color: #519ebf;
}*/

#stop_recording_button {
  background-color: #ffa800
}

#start_recording_button:hover, #stop_recording_button:hover, #user-assistant-message-button:hover {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.25); /* Paramètres de l'ombre : décalage X, décalage Y, flou, couleur */
}

/*.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}*/

.chat_actions {
  display: flex;
  gap: 10px; /* espace entre les boutons */
}

.end-of-conversation {
  text-align: center;
  font-style: italic;
  color: grey;
}

/* DEPRECATED
.validate-btn, .edit-btn, .cancel-btn {
  font-size: 0.8rem; 
  padding: 5px 10px; 
  background-color: #f3f4f6;
  border-radius: 5px;
  width: 36px;
  height: 28px;
}

.validate-btn:hover, .edit-btn:hover {
  background-color: #e5e7eb;
}*/

/* USER ASSISTANT & PRESENTATION */

.assistant, .presentation, .config, .summary  {
  padding: 8px !important;
  margin: 8px;
}

.assistant-header {
  border-bottom: 1px solid #1d1b4b;
}

.assistant-title {
  text-align: center;
  font-weight: 500;
  margin-bottom: 16px;
}

.presentation-content {
  border-top: 1px solid #519ebf;
  margin-top: 6px;
  padding-top: 6px;
}

.assistant-length, .presentation-length {
  color: #1d1b4b;
  font-weight: 600;
  font-size: 13px;
}

#assistant-config-container { 
  width: 100%;
  order: 1;  /* Déplace le formulaire en bas */
  margin-top: 16px;
  font-size: 15px;
}

#assistant-config-container .field textarea {
  min-height: 100px;
}

#reservation-email, #reservation-name, #reservation-phone, 
#assistant-custom-field-1, #assistant-custom-field-2, 
#assistant-custom-field-3, #assistant-custom-field-4, 
#assistant-custom-field-5 {
  width: 100%;
}

#assistant-instructions {
  min-height: 320px;
}

#assistant-instructions, #assistant-button {
  width: 100%
}

.launch_block {
  border-top: 1px solid #1d1b4b;
  margin-top: 20px;
  padding-top: 16px;
}

#launch-button {
  width: 100%
}

#conversation-progress, #conversation-end {
  color: #d1a110;
}

.human-info {
  font-size: 11px;
  line-height: 1.2;
  margin-top: 4px;
}

.calendar-presentation {
  text-align: center;
}

.calendar-avatar {
  margin: 4px auto;
}

.info-access-rdv {
  font-size: 14px;
  color: grey;
}

/* SUMMARY */

#wrap-admin-summary {
  max-height: 90vh;
  overflow-y: auto;
}

.summary-header {
  border-bottom: 1px solid #1d1b4b;
}

.summary-title {
  text-align: center;
  font-weight: 500;
  margin-bottom: 16px;
}

.summary-length {
  color: #1d1b4b;
  font-weight: 600;
  font-size: 13px;
}

#summary-config-container { 
  width: 100%;
  order: 1;  /* Déplace le formulaire en bas */
  margin-top: 16px;
  font-size: 15px;
}

#summary-config-container .field textarea {
  min-height: 100px;
}

.summary-text {
  max-width: 300px;
  margin-bottom: 20px;
}

/* MODAL */

.modal {
  position: fixed; /* Reste en place même lors du scroll */
  z-index: 1000; /* S'assure que le modal est au-dessus des autres éléments */
  left: 0;
  top: 0;
  width: 100%; /* Largeur couvre tout l'écran */
  height: 100%; /* Hauteur couvre tout l'écran */
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  display: flex; /* Utilise flexbox pour centrer le contenu */
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  margin-bottom: 20px;
}

.modal-content {
  background-color: #fff; /* Fond blanc pour le contenu du modal */
  padding: 20px; /* Espace autour du contenu */
  border-radius: 5px; /* Bords arrondis */
  width: 90%; /* Largeur par défaut */
  max-width: 600px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  color: #519ebf;
  margin-bottom: 20px;
}

.modal-title {
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.modal-content span {
  font-size: 16px;
  cursor: pointer;
}

.emails {
  padding: 12px !important;
  margin: 12px;
}

.email, .notification {
  font-size: 13px;
  color: #1d1b4b;
  border-bottom: 1px solid #d8f3ff;
}

.open_email:hover {
  text-decoration: underline;
}

.email-modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  max-width: 82%;
}

.email-modal .modal-body {
  margin-bottom: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.email-modal #wrap-input-and-buttons {
  max-width: unset;
}

.email-subject {
  margin-bottom: 10px;
}

.email-form {
  margin-top: 24px;
}

.modal .field {
  display: flex;
  align-items: end;
  margin-bottom: 15px;
}

.modal .field label {
  width: 30%;
  text-align: right;
}

.modal .field input {
  width: 70%;
}

.modal .actions {
  display: flex;
  justify-content: center;
}

/* CALENDAR */

.calendar_integration_title {
  margin-bottom: 20px;
}

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

.slots, .email-contact {
  padding: 12px !important;
  margin: 12px;
}

.admin_slots {
  overflow: auto;
}

#slots-container {
  margin: 16px 0;
}

.slots-link {
  font-size: 13px;
}

.slot-row {
  display: flex;
  width: 100%;
}

.slot-container {
  width: 20%;
  text-align: center;
}

.slots-pagination {
  min-height: 24px;
}

.btn-slot {
  /*background-color: #9cadc1;*/
  font-size: 14px;
  background-color: #e3f1ff;
  color: #3b505a;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  margin: 0 4px 8px 0;
}

.btn-slot:hover {
  /*background-color: #5C6D7E;*/
  background-color: #eaf5ff;
}

#reservation-button, #reservation-email {
  width: 100%;
}

#reservation-container, #email-form-container {
  width: 100%;
  order: 1;  /* Déplace le formulaire en bas */
  margin-top: 16px;
  margin-bottom: 16px;
}

#reservation-container {
  display: none;
}

.slot-header, .email-contact-header {
  border-bottom: 1px solid #519ebf;
}

.email-contact-title {
  text-align: center;
  font-weight: 500;
  margin-bottom: 16px;
}

.slot-length {
  text-align: center;
  color: #519ebf;
  font-weight: 600;
}

.close-form {
  color: #519ebf;
  font-weight: 500;
}

.close-form:hover {
  text-decoration: underline;
}

#slot-sumup {
  margin: 16px 0 16px 0;
}

.google-calendar-rdv, .email-confirmation {
  text-align: center;
  margin-top: 16px;
}

.google-rdv-time {
  font-weight: 500;
}

.rdv-success {
  font-weight: 600;
}

.google-calendar-rdv-link {
  margin-top: 16px;
  font-size: 13px;
}

.google-calendar-rdv-link a {
  color: #1d1b4b;
}

.google-calendar-rdv-link a:hover {
  text-decoration: underline;
}

.pagination {
  text-align: center;
}

.pagination-info {
  font-size: 10px;
}

.pagination-btn {
  font-size: 18px;
  color: #1d1b4b;
  font-weight: 500;
  padding: 0 6px;
  border: 1px solid #1d1b4b;
  background-color: #effaff;
}

.pagination-btn.right {
  float: right;
}

.pagination-btn.left {
  float: left;
}

.pagination-btn:hover {
  background-color: #ffffff;
}

#rdv_spinner .loader {
  width: 40px;
  margin: auto;
}

.rdv_creation {
  color: #ffffff;
  font-weight: bold;
  margin-top: 10px;
}

.no-slots-message {
  margin-top: 10px;
  text-align: center;
  color: grey;
}

/* MOBILE & MEDIA */

.hamburger-button {
  display: none; /* Caché par défaut */
}

@media (min-width: 769px) {
  .mobile-nav, .mobile-list-btn, .mobile-btn-assistant, #mobile-chat-header, .mobile-chat-title, .close-btn {
    display: none;
  }

  .chat-desktop-nav-hidden {
    display: none;
  }
}

@media (max-width: 479px) {
  .background-home {
    height: 75vh;
  }

  .title_home {
    margin: 56px 0;
    width: 96%;
    font-size: 44px;
    top: 10px;
  }

  .annonce {
    margin: 10px auto;
    padding: 0px;
    width: 90%;
  }

  .annonce p {
    padding: 6px;
  }

  .annonce p, .annonce a, .feature p {
    font-size: 15px;
  }

  .btn-container {
    margin: 12px 0;
  }

  .features {
    padding-top: 16px;
  }

  .feature {
    width: 90%;
    padding: 6px;
  }

  .feature h2 {
    font-size: 24px;
  }

  .feature p {
    font-size: 15px;
  }

  .feature span, .feature .icon {
    font-size: 18px;
  }

  .feature img {
    width: 100%;
  }

  .admin-chat-title  {
    font-size: 13px;
  }

  .ai_message_content, .admin_message_content, .introduction_message, .ai_user_message_content {
    max-width: 82%;
  }

  .user-info-dropdown {
    margin-bottom: 42px;
  }

  .public-list {
    max-height: 56vh;
  }

  .right-section {
    padding-top: 54.58px;
  }

  .nav-links {
    font-size: 12px;
    gap: 2px;
    padding: 4px;
  }

  .btn-white-header {
    font-size: 13px;
  }

  .btn-start, .btn-white {
    padding: 8px;
    font-size: 13px;
  }

  .offer-notice {
    font-size: 13px;
    width: 100%;
    top: 52px;
  }

  .terms, .contact, .offer, .privacy, .articles {
    min-height: 18vh;
  }

  .terms-header, .contact-header, .offer-header, .privacy-header  {
    margin: 16px 16px auto;
  }

  .terms-title, .contact-title, .offer-title, .privacy-title  {
    font-size: 24px;
  }

  .offers-container {
    display: block;
  }

  .offer {
    padding: 14px;
    margin: 16px;
  }

  .offer li, .offer-content li, .offer-content p {
    font-size: 14px;
  }

  .offer h2, .offer-content h2 {
    font-size: 20px;
  }
  .subscribe {
    margin-top: 38px;
  }

  #chat-iframe {
    height: 92vh;
    width: 100vw;
    right: 0;
    bottom: 0;
  }

  .document-content {
    margin: 6px;
  }

  .button-container i {
    font-size: 14px;
  }
}

@media (max-width: 768px) {

  .mobile-overflow {
    overflow: hidden;
  }

  .chat-mobile-nav-hidden {
    display: none;
  }

  .padding-top-head-mobile {
    padding-top: 54.58px;
  }

  .user-info-dropdown {
    font-size: 13px;
  }

  .sidebar {
    position: fixed; /* ou absolute */
    left: -100%; /* Commence en dehors de l'écran */
    transition: left 0.3s; /* Animation pour glisser */
    height: 96vh;
  }

  .dashboard-container, .main-container, .settings-container, .configuration-container, .company-container, .documents-container, .chat-container {
    font-size: 13px;
  }

  .term-content, .contact-content, .offer-content, .privacy-content {
    padding: 0 20px;
  }

  .company-menu {
    margin: 6px 0 0 6px;
  }

  .dashboard-content {
    margin: 6px;
  }

  .dashboard-section {
    margin-right: 0;
  }

  .hamburger-button {
    display: block; /* Afficher le bouton sur les petits écrans */
  }

  .article {
    width: 90%;
  }

  .article p {
    font-size: 16px;
  }

  .mobile-chat-head {
    display:block;
    padding: 8px;
  }

  .list-content {
    display: block; /* Afficher par défaut */
  }

  .chat-content, .right-section, .web-chat-title {
    display: none; /* Masquer par défaut */
  }

  .chat-content {
    padding-top: 0; /* Masquer par défaut */
  }

  .user-right-section {
    display: block;
  }

  #inner_messages_container {
    margin: 0;
  }

  .mobile-list-btn, .mobile-btn-assistant {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    background-color: #4890b2;
  }

  .mobile-list-btn:hover, .mobile-btn-assistant:hover , .close-btn:hover {
    background-color: #60acd4;
  }

  .close-btn {
    font-size: 12px;
    color: #ffffff;
    text-decoration: none;
    padding: 4px;
    border-radius: 4px;
    background-color: #4890b2;
    z-index: 1000;
  }

  #chat-config {
    float: none;
    border-left: none;
  }

  #chat-config-btn {
    margin-left: 0;
    display: flex;
    gap: 10px;
  }

  .right-section, .user-right-section {
    position: fixed;
    right: -100%; /* Démarrez à droite de l'écran */
    top: 0;
    width: 80%; /* Largeur de la popup */
    height: 100%;
    background-color: white;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s;
  }

  .right-section.open, .user-right-section.open {
    right: 0; /* Affichez la popup */
  }

  .question_field {
    width: 88%;
  }

  .btn-slot {
    font-size: 12px;
    padding: 6px;
  }

  #chat-room .mobile-btn-assistant {
    float: right;
    margin: 4px 6px 0 0;
  }

  #chat-room, #admin-chat-room {
    height: 100vh;
  }

  #chat-room #wrap-input-and-buttons {
    margin-bottom: 6vh;
  }

  #admin-chat-room #wrap-input-and-buttons {
    margin-bottom: 19vh;
  }

  .chat-setting {
    font-size: 12px;
  }

  .calendar-presentation {
    margin-top: -12px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .border-right {
    border-right: none;
  }

  .grid-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding: 5px;
  }

  .grid-cell {
    display: flex;
    overflow: hidden;
  }

  .grid-cell::before {
    content: attr(data-label);
    flex: 0 0 auto;
    width: 32%;
    max-width: 40%;
    font-weight: bold;
    padding-right: 10px;
    box-sizing: border-box;
    word-break: break-word;
  }

  .document-item .text {
    display: none; /* Cache le texte pour économiser de l'espace */
  }

  .grid-header {
    display: none;
  }
}
