/*
! 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;
}

.love-expert-page {
  --love-expert-bg: #f7efe8;
  --love-expert-paper: rgba(255, 249, 244, 0.84);
  --love-expert-panel: #241717;
  --love-expert-ink: #241717;
  --love-expert-muted: #6f5a57;
  --love-expert-line: rgba(36, 23, 23, 0.12);
  --love-expert-accent: #b76e5d;
  --love-expert-accent-dark: #8d4f43;
  min-height: 100vh;
  color: var(--love-expert-ink);
  background:
    radial-gradient(circle at top left, rgba(207, 154, 136, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(139, 80, 68, 0.16), transparent 28%),
    linear-gradient(180deg, #f5ede6 0%, #fbf7f3 54%, #f1e6dc 100%);
}

.love-expert-page,
.love-expert-page input,
.love-expert-page select,
.love-expert-page textarea,
.love-expert-page button {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.love-expert-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.love-expert-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(247, 239, 232, 0.78);
  border-bottom: 1px solid var(--love-expert-line);
}

.love-expert-nav__inner,
.love-expert-nav__links,
.love-expert-actions,
.love-expert-proof,
.love-expert-hero__grid,
.love-expert-cards,
.love-expert-split,
.love-expert-mini-grid,
.love-expert-portrait,
.love-expert-form__grid,
.love-expert-form__actions,
.love-expert-form-layout {
  display: flex;
}

.love-expert-nav__inner {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.love-expert-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.love-expert-brand__mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #d3a08f, #8d4f43);
  box-shadow: 0 10px 24px rgba(141, 79, 67, 0.22);
}

.love-expert-brand__copy,
.love-expert-brand__title,
.love-expert-brand__subtitle {
  display: block;
}

.love-expert-brand__title {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.love-expert-brand__subtitle,
.love-expert-kicker,
.love-expert-panel__eyebrow,
.love-expert-card__step,
.love-expert-card__hint,
.love-expert-form__note {
  color: var(--love-expert-muted);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.love-expert-nav__links {
  align-items: center;
  gap: 1.1rem;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
}

.love-expert-nav__links a:hover {
  color: var(--love-expert-accent-dark);
}

.love-expert-hero,
.love-expert-section {
  padding: 5rem 0;
}

.love-expert-hero__grid,
.love-expert-split,
.love-expert-portrait,
.love-expert-form-layout {
  align-items: start;
  gap: 2rem;
}

.love-expert-hero__copy,
.love-expert-hero__panel,
.love-expert-portrait__media,
.love-expert-portrait__copy,
.love-expert-form-layout > * {
  flex: 1 1 0;
}

.love-expert-kicker {
  display: inline-block;
  margin-bottom: 1rem;
}

.love-expert-hero h1,
.love-expert-reading h1,
.love-expert-section h2,
.love-expert-panel h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.love-expert-reading h1,
.love-expert-section h2,
.love-expert-panel h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.love-expert-lead,
.love-expert-reading p,
.love-expert-card p,
.love-expert-mini-card p,
.love-expert-panel p,
.love-expert-alert {
  margin-top: 1.2rem;
  color: var(--love-expert-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.love-expert-actions {
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.love-expert-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.love-expert-button:hover {
  transform: translateY(-1px);
}

.love-expert-button--primary {
  background: var(--love-expert-accent);
  color: #fff9f6;
}

.love-expert-button--primary:hover {
  background: var(--love-expert-accent-dark);
}

.love-expert-button--ghost {
  border-color: rgba(141, 79, 67, 0.24);
  background: rgba(255, 255, 255, 0.36);
}

.love-expert-proof,
.love-expert-list {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.love-expert-proof span,
.love-expert-list li {
  border-radius: 999px;
  border: 1px solid rgba(141, 79, 67, 0.15);
  background: rgba(255, 255, 255, 0.52);
  padding: 0.65rem 0.9rem;
  list-style: none;
}

.love-expert-panel,
.love-expert-card,
.love-expert-mini-card,
.love-expert-form-card,
.love-expert-alert {
  border: 1px solid var(--love-expert-line);
  border-radius: 1.8rem;
  box-shadow: 0 18px 46px rgba(55, 27, 27, 0.08);
}

.love-expert-panel {
  padding: 2rem;
  color: #f7efe8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--love-expert-panel);
}

.love-expert-panel p,
.love-expert-panel .love-expert-list li {
  color: rgba(247, 239, 232, 0.86);
}

.love-expert-panel .love-expert-list li {
  border-color: rgba(255, 249, 244, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.love-expert-cards,
.love-expert-mini-grid {
  flex-wrap: wrap;
  gap: 1rem;
}

.love-expert-card,
.love-expert-mini-card,
.love-expert-form-card,
.love-expert-alert {
  padding: 1.5rem;
  background: var(--love-expert-paper);
}

.love-expert-card,
.love-expert-mini-card {
  flex: 1 1 250px;
}

.love-expert-card h2,
.love-expert-mini-card strong {
  font-size: 1.35rem;
}

.love-expert-section--contrast {
  background: rgba(255, 255, 255, 0.34);
}

.love-expert-portrait__image {
  width: 100%;
  border-radius: 1.8rem;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(47, 24, 24, 0.14);
}

.love-expert-reading {
  max-width: 860px;
}

.love-expert-form-layout {
  gap: 1.6rem;
}

.love-expert-form-card {
  max-width: 720px;
}

.love-expert-form {
  display: block;
}

.love-expert-form__grid {
  flex-wrap: wrap;
  gap: 1rem;
}

.love-expert-field {
  flex: 1 1 220px;
}

.love-expert-field--full {
  flex-basis: 100%;
}

.love-expert-field label,
.love-expert-consent {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.love-expert-field label {
  margin-bottom: 0.45rem;
}

.love-expert-field input,
.love-expert-field select,
.love-expert-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(36, 23, 23, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--love-expert-ink);
  font-size: 1rem;
}

.love-expert-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.love-expert-consent {
  margin-top: 1rem;
  display: flex;
  align-items: start;
  gap: 0.8rem;
  line-height: 1.6;
}

.love-expert-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
}

.love-expert-form__actions {
  flex-direction: column;
  align-items: start;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.love-expert-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.love-expert-alert {
  margin: 1.4rem 0 0;
  background: rgba(183, 110, 93, 0.12);
}

@media (max-width: 900px) {
  .love-expert-nav__inner,
  .love-expert-nav__links,
  .love-expert-hero__grid,
  .love-expert-split,
  .love-expert-portrait,
  .love-expert-form-layout {
    flex-direction: column;
  }

  .love-expert-nav__links {
    width: 100%;
    flex-wrap: wrap;
  }

  .love-expert-hero,
  .love-expert-section {
    padding: 3.5rem 0;
  }
}

.manon-page {
  background:
    radial-gradient(circle at top left, rgba(214, 191, 167, 0.34), transparent 30%),
    linear-gradient(180deg, #f8f3ed 0%, #f5eee7 52%, #efe4db 100%);
  color: #2e2424;
  min-height: 100vh;
}

.manon-page,
.manon-page input,
.manon-page textarea,
.manon-page select,
.manon-page button {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

.manon-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.manon-hero,
.manon-section {
  padding: 4.5rem 0;
}

.manon-hero__grid,
.manon-grid,
.manon-steps,
.manon-cta {
  display: flex;
}

.manon-hero__grid {
  align-items: start;
  gap: 2rem;
}

.manon-hero__content,
.manon-chat {
  flex: 1 1 0;
}

.manon-eyebrow {
  margin-bottom: 1rem;
  color: #836a67;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manon-hero h1,
.manon-section__title,
.manon-card h2,
.manon-chat h2,
.manon-card--cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.manon-section__title,
.manon-card h2,
.manon-chat h2,
.manon-card--cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.manon-subtitle,
.manon-human-augment,
.manon-card p,
.manon-chat p,
.manon-card--wide p {
  margin-top: 1.1rem;
  color: #6b5957;
  font-size: 1.06rem;
  line-height: 1.8;
}

.manon-human-augment {
  max-width: 48rem;
}

.manon-cta {
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.manon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.manon-button:hover {
  transform: translateY(-1px);
}

.manon-button--primary {
  background: #9d5f66;
  color: #fff9f6;
}

.manon-button--primary:hover {
  background: #874f55;
}

.manon-button--secondary {
  background: rgba(255, 252, 248, 0.62);
  border-color: rgba(104, 77, 75, 0.16);
  color: #3d3130;
}

.manon-card,
.manon-chat__shell {
  border: 1px solid rgba(59, 45, 45, 0.1);
  border-radius: 1.8rem;
  background: rgba(255, 250, 246, 0.84);
  box-shadow: 0 18px 48px rgba(61, 38, 38, 0.08);
}

.manon-chat__shell {
  overflow: hidden;
}

.manon-chat__header {
  margin-bottom: 1rem;
}

.manon-chat__eyebrow {
  color: #836a67;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manon-chat__state {
  padding: 1.25rem;
  color: #6b5957;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
}

.manon-chat__frame {
  display: block;
  width: 100%;
  min-height: 39rem;
  border: 0;
  background: #fff;
}

.manon-grid,
.manon-steps {
  flex-wrap: wrap;
  gap: 1rem;
}

.manon-card {
  flex: 1 1 280px;
  padding: 1.5rem;
}

.manon-card--wide,
.manon-card--cta {
  max-width: 100%;
}

.manon-card--wide {
  padding: 1.8rem;
}

.manon-card--cta {
  text-align: center;
  padding: 2rem;
}

.manon-section--tinted {
  background: rgba(255, 255, 255, 0.35);
}

.manon-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(157, 95, 102, 0.12);
  color: #874f55;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .manon-hero__grid {
    flex-direction: column;
  }

  .manon-chat__frame {
    min-height: 34rem;
  }
}

@media (max-width: 640px) {
  .manon-hero,
  .manon-section {
    padding: 3rem 0;
  }

  .manon-hero h1,
  .manon-section__title,
  .manon-card h2,
  .manon-chat h2,
  .manon-card--cta h2 {
    line-height: 1.02;
  }

  .manon-chat__frame {
    min-height: 31rem;
  }
}

::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;
}

.nav-links--home {
  gap: 18px;
  justify-content: center;
}

.nav-link-minimal {
  color: rgba(232, 246, 250, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-link-minimal:hover {
  color: #ffffff;
}

.home-header-actions {
  display: flex;
  align-items: center;
}

.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; */
  background-color: #000000;
  font-family: 'Roboto', "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  /*padding-top: 54.58px;*/
}

body.rocket-background {
  background:
    radial-gradient(circle at top center, rgba(54, 124, 140, 0.2), transparent 24%),
    linear-gradient(180deg, #081319 0%, #102028 12%, #f7fbfc 28%, #ffffff 100%);
}

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

.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;
}

/* HOME QUALIFY */

.home-qualify {
  position: relative;
  overflow: hidden;
  padding: 72px 0 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(110, 221, 239, 0.22), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(72, 144, 178, 0.28), transparent 28%),
    radial-gradient(circle at 70% 72%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #061118 0%, #0b1d26 42%, #123545 100%);
}

.home-qualify::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  pointer-events: none;
}

.home-qualify::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 215, 229, 0.16), transparent 64%);
  pointer-events: none;
}

.home-hero {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 36px 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: center;
}

.home-hero__content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
}

.home-hero__frame {
  position: relative;
  padding: 26px 28px 30px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(201, 235, 243, 0.14);
  box-shadow:
    0 28px 64px rgba(3, 12, 16, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(156, 231, 243, 0.65) 0%, rgba(156, 231, 243, 0) 88%);
}

.home-hero__frame::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(148, 227, 239, 0.16), transparent 68%);
  pointer-events: none;
}

.home-hero__content > * {
  position: relative;
  z-index: 2;
}

.home-hero__eyebrow,
.home-sections__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(198, 231, 239, 0.16);
  color: #d7eef3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__title {
  position: static;
  transform: none;
  width: auto;
  margin: 20px 0 16px;
  color: #f8feff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-align: left;
  text-shadow: none;
  max-width: 11ch;
}

.home-hero__title-accent {
  display: block;
  color: #9ce7f3;
  text-shadow: 0 0 24px rgba(156, 231, 243, 0.12);
}

.home-hero__lede {
  max-width: 520px;
  color: rgba(226, 242, 247, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 30px 0 16px;
  justify-content: flex-start;
  align-items: center;
}

.home-hero__actions .btn-start,
.home-hero__actions .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  font-weight: 600;
  border-radius: 18px;
}

.home-hero__actions .btn-start {
  background: linear-gradient(135deg, #dff9ff 0%, #8fd7e5 100%);
  color: #11313c;
  box-shadow:
    0 18px 38px rgba(7, 20, 26, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.home-hero__actions .btn-start:hover {
  background: linear-gradient(135deg, #f4fdff 0%, #9ce1ee 100%);
  transform: translateY(-1px);
}

.home-hero__actions .btn-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(215, 238, 243, 0.22);
  color: #effbfe;
}

.home-hero__actions .btn-white:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.home-hero__microcopy {
  margin: -2px 0 18px;
  color: rgba(187, 216, 223, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  justify-content: flex-start;
}

.home-hero__trust span {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(215, 238, 243, 0.16);
  color: rgba(226, 242, 247, 0.86);
  font-size: 13px;
  font-weight: 600;
}

.home-hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-highlight {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(215, 238, 243, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.home-highlight__label {
  display: block;
  margin-bottom: 6px;
  color: rgba(202, 226, 232, 0.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-highlight strong {
  display: block;
  color: #f1fdff;
  font-size: 15px;
  line-height: 1.45;
}

.home-hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-composition {
  position: relative;
  width: min(100%, 620px);
  margin-left: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(247, 253, 254, 0.94) 0%, rgba(240, 249, 251, 0.88) 100%);
  border: 1px solid rgba(223, 247, 252, 0.3);
  box-shadow:
    0 22px 46px rgba(4, 12, 16, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  padding: 22px;
  border-radius: 28px;
}

.hero-card--conversation {
  width: min(100%, 540px);
  align-self: center;
  border-radius: 30px;
  z-index: 3;
}

.hero-card--booking {
  width: min(100%, 392px);
  align-self: center;
  margin-left: 0;
  min-height: 208px;
  border-radius: 26px;
  z-index: 2;
}

.hero-card--signal {
  width: min(100%, 288px);
  align-self: center;
  margin-left: 0;
  min-height: 208px;
  border-radius: 24px;
  z-index: 4;
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eff8f9;
  color: #1c6172;
  font-size: 13px;
  font-weight: 700;
}

.hero-card__badge--accent {
  background: #eef2fb;
  color: #304f86;
}

.hero-card__meta,
.hero-card__caption {
  color: #78909a;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card__caption {
  display: inline-flex;
  margin-bottom: 8px;
}

.hero-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(32, 78, 93, 0.08);
  color: #1e5463;
  font-size: 12px;
  font-weight: 700;
}

.hero-card__note {
  margin-top: 16px;
  color: #5d7480;
  font-size: 13px;
  line-height: 1.55;
}

.home-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-chat-preview__bubble {
  max-width: 94%;
  padding: 12px 15px;
  border-radius: 19px;
  font-size: 14px;
  line-height: 1.55;
}

.home-chat-preview__bubble--assistant {
  align-self: flex-start;
  background: #edf6f8;
  color: #20424d;
}

.home-chat-preview__bubble--visitor {
  align-self: flex-end;
  background: #203d48;
  color: #ffffff;
}

.hero-card--signal strong {
  display: block;
  margin: 10px 0 6px;
  color: #153945;
  font-size: 26px;
  line-height: 1.05;
}

.hero-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.hero-scoreboard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(20, 61, 72, 0.06);
}

.hero-scoreboard__row span {
  color: #607985;
  font-size: 13px;
  font-weight: 600;
}

.hero-scoreboard__row strong {
  margin: 0;
  color: #123a47;
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
}

.booking-preview__day {
  margin-bottom: 12px;
  color: #183946;
  font-weight: 700;
  font-size: 17px;
}

.booking-preview__slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-preview__slots span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  background: #f4f8fb;
  color: #30515d;
  font-weight: 600;
}

.booking-preview__slots span.is-active {
  background: #284b84;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(40, 75, 132, 0.24);
}

.home-proof-strip {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 32px 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-proof-strip__item {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 64, 76, 0.06);
  color: #22424e;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(10px);
}

.home-outcomes {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 32px 28px;
}

.home-outcomes__intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.home-outcomes__intro h2 {
  margin: 14px 0 8px;
  color: #0f2c35;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.home-outcomes__intro p {
  color: #5d757f;
  font-size: 17px;
  line-height: 1.7;
}

.home-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-outcome {
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(131, 210, 225, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
  border: 1px solid rgba(17, 54, 64, 0.08);
  box-shadow: 0 18px 40px rgba(12, 43, 52, 0.06);
}

.home-outcome__label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #2f6170;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-outcome h3 {
  margin: 0 0 10px;
  color: #0f2d36;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  line-height: 1.15;
}

.home-outcome p {
  margin: 0;
  color: #667c86;
  font-size: 15px;
  line-height: 1.65;
}

.home-sections {
  padding: 48px 32px 80px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.home-sections__intro {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-sections__intro h2 {
  margin: 18px 0 14px;
  color: #12313c;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.home-sections__intro p {
  max-width: 760px;
  margin: 0 auto;
  color: #58717b;
  font-size: 18px;
  line-height: 1.7;
}

.home-features {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-feature {
  width: 100%;
  max-width: 980px;
  min-height: auto;
  padding: 30px;
  text-align: left;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 252, 0.96) 100%);
  border: 1px solid rgba(22, 58, 69, 0.08);
  box-shadow: 0 24px 50px rgba(16, 48, 58, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.home-feature:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 56px rgba(16, 48, 58, 0.12);
  border: 1px solid rgba(28, 97, 114, 0.18);
}

.home-feature:nth-child(even) .home-feature__body {
  order: 2;
}

.home-feature:nth-child(even) .home-feature__visual {
  order: 1;
}

.home-feature__body {
  max-width: 560px;
}

.home-feature__topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #2f6170;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-feature__topline i {
  font-size: 14px;
}

.home-feature h2 {
  margin-bottom: 8px;
  color: #102f39;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.home-feature p {
  max-width: 520px;
  margin-bottom: 16px;
  color: #667c86;
  font-size: 16px;
  line-height: 1.65;
}

.home-feature__body > span:last-child {
  display: block;
  margin-top: 14px;
  color: #163a46;
  font-size: 14px;
  font-weight: 700;
}

.home-feature__visual {
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(103, 188, 204, 0.14), transparent 30%),
    linear-gradient(180deg, #edf6f8 0%, #f9fbfc 100%);
  border: 1px solid rgba(24, 64, 76, 0.08);
  min-height: 240px;
}

.home-mini-window {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  border: 1px solid rgba(23, 59, 70, 0.08);
  box-shadow: 0 16px 32px rgba(17, 49, 58, 0.08);
  overflow: hidden;
}

.home-mini-window__header {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  background: #f6fafb;
  border-bottom: 1px solid rgba(19, 56, 66, 0.06);
}

.home-mini-window__header span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c7d9de;
}

.home-mini-chat,
.home-mini-calendar,
.home-mini-email {
  padding: 16px;
}

.home-mini-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-mini-chat__row {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.home-mini-chat__row--assistant {
  align-self: flex-start;
  background: #edf5f7;
  color: #1d404b;
}

.home-mini-chat__row--visitor {
  align-self: flex-end;
  background: #173944;
  color: #ffffff;
}

.home-mini-calendar__title {
  margin-bottom: 14px;
  color: #143742;
  font-size: 15px;
  font-weight: 700;
}

.home-mini-calendar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-mini-calendar__grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  background: #eef3f7;
  color: #355562;
  font-weight: 700;
}

.home-mini-calendar__grid span.is-active {
  background: linear-gradient(135deg, #1f4761 0%, #2f6d8f 100%);
  color: #ffffff;
}

.home-mini-email {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-mini-email__line {
  color: #516b75;
  font-size: 14px;
  line-height: 1.5;
}

.home-mini-email__line--strong {
  color: #163641;
  font-size: 16px;
  font-weight: 700;
}

.home-mini-email__chip {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf5d9;
  color: #53682a;
  font-size: 13px;
  font-weight: 700;
}

.home-pricing {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 0;
}

.home-pricing__intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.home-pricing__intro h2 {
  margin: 14px 0 12px;
  color: #0f2c35;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.home-pricing__intro p {
  color: #5a727c;
  font-size: 17px;
  line-height: 1.7;
}

.home-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-plan {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(19, 56, 66, 0.08);
  box-shadow: 0 20px 44px rgba(10, 35, 43, 0.08);
}

.home-plan--light {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.home-plan--dark {
  background: linear-gradient(135deg, #0d2028 0%, #173743 100%);
  color: #f4fcff;
}

.home-plan__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-plan__label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(86, 169, 186, 0.12);
  color: #286071;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-plan--dark .home-plan__label {
  background: rgba(222, 247, 253, 0.12);
  color: #d9f4fb;
}

.home-plan__header strong {
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.home-plan__lede {
  margin: 0 0 18px;
  color: #617883;
  font-size: 16px;
  line-height: 1.65;
}

.home-plan--dark .home-plan__lede {
  color: rgba(226, 242, 247, 0.82);
}

.home-plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.home-plan__list li {
  position: relative;
  padding-left: 18px;
  color: #173b46;
  font-size: 15px;
  line-height: 1.55;
}

.home-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #5ab1c3;
}

.home-plan--dark .home-plan__list li {
  color: rgba(236, 248, 252, 0.9);
}

.home-plan--dark .home-plan__list li::before {
  background: #a6ebf7;
}

.home-plan__actions {
  margin-top: 22px;
}

.home-plan__actions .btn-start,
.home-plan__actions .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.home-plan__actions .btn-white {
  background: #ffffff;
}

.link {
  color: #519ebf;
}

.home-audience {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 32px 0;
}

.home-audience__intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.home-audience__intro h2 {
  margin: 14px 0 0;
  color: #0f2c35;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.home-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-audience__card {
  padding: 24px;
  border-radius: 22px;
  background: #10262f;
  color: #f4fcff;
  box-shadow: 0 24px 50px rgba(10, 28, 35, 0.18);
}

.home-audience__card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 1.12;
}

.home-audience__card p {
  margin: 0;
  color: rgba(224, 239, 244, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.home-closing {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 32px 84px;
}

.home-closing__panel {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(155, 231, 245, 0.14), transparent 22%),
    linear-gradient(135deg, #0b1b22 0%, #14323d 100%);
  color: #ffffff;
  box-shadow: 0 30px 70px rgba(11, 28, 35, 0.2);
}

.home-closing__panel h2 {
  max-width: 760px;
  margin: 14px 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.04;
}

.home-closing__panel p {
  max-width: 700px;
  margin: 0;
  color: rgba(230, 243, 247, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.home-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.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;
}

.assistant-avatar--manon {
  border: 1px solid rgba(216, 180, 90, 0.36);
  background: radial-gradient(circle at 30% 30%, rgba(216, 180, 90, 0.92), rgba(35, 28, 20, 1));
  color: #120f14;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.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;
}

.message-body {
  max-width: 100%;
}

.message-stack {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.message-stack--assistant {
  align-items: flex-start;
}

.message-body--assistant {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.is-hidden { display: none; }
.msg-editor textarea { width: 100%; }

.msg-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 2px 8px 0 8px;
  width: 100%;
  box-sizing: border-box;
}

.msg-actions--assistant {
  width: auto;
  align-self: flex-end;
  padding-right: 4px;
}

.msg-action-form {
  display: inline-flex;
  margin: 0;
}

.msg-action-form--inline {
  align-self: center;
}

.msg-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.msg-action-btn:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #1f2937;
}

.msg-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.msg-editor textarea {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.msg-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.msg-editor-actions button {
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.msg-editor-actions button:first-child {
  background: #519ebf;
  color: #fff;
}

.msg-editor-actions button:last-child {
  background: rgba(0, 0, 0, 0.08);
  color: #1f2937;
}

@media (hover: hover) and (pointer: fine) {
  .ai_message .msg-actions,
  .user_message .msg-actions,
  .admin_message .msg-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .ai_message:hover .msg-actions,
  .ai_message:focus-within .msg-actions,
  .user_message:hover .msg-actions,
  .user_message:focus-within .msg-actions,
  .admin_message:hover .msg-actions,
  .admin_message:focus-within .msg-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

#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 */
}

.chat-composer-hint {
  margin: 6px 4px 0;
  color: #7b8794;
  font-size: 11px;
  line-height: 1.35;
}

.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;
}

/* WORKFLOW */

.workflow-panel {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 12px;
  margin-top: 12px;
}

/* Header */
.workflow-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.workflow-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.workflow-header .muted {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

/* Presets */
.workflow-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.workflow-presets button {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.2s ease;
}

.workflow-presets button:hover {
  transform: translateY(-1px);
}

.workflow-presets button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.preset-btn.is-active {
  outline: 2px solid currentColor;
  border-radius: 8px;
}

.workflow-after-preset.is-hidden {
  display: none;
}

/* Config */
.workflow-config {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.workflow-config label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: -4px;
}

/* inputs/selects/textarea in workflow */
.workflow-config input,
.workflow-config select,
.workflow-config textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 10px 10px;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  color: inherit;
}

.workflow-config input:focus,
.workflow-config select:focus,
.workflow-config textarea:focus {
  border-color: rgba(0,0,0,0.25);
}

/* Topic textarea behavior */
.workflow-topic {
  width: 100%;
  min-height: 44px;
  max-height: 180px;
  overflow: auto;
  resize: none;
}

.workflow-topic--small {
  min-height: 44px;
  max-height: 120px;
}

/* If you still use this id somewhere */
#assistant-ia-instructions {
  min-height: 120px;
}

/* Actions */
.workflow-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.workflow-actions button {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(0,0,0,0.08);
}

.workflow-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Status */
.workflow-status {
  margin: 8px 0 10px;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(0,0,0,0.05);
}

/* Blocks list */
.blocks-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-row {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 10px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
}

.block-row.is-current {
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.block-title strong {
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.05);
}

.block-meta {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 4px;
}

.block-actions {
  display: flex;
  align-items: center;
}

.block-actions button {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
}

.block-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Block editor (NEXT) */
.block-editor {
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.block-editor__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.block-editor__title h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.block-editor__title .muted {
  margin: 4px 0 0;
}

.block-editor__form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 6px;
}

.block-editor__textarea {
  min-height: 140px;
  max-height: 360px;
}

.block-editor__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.block-editor__btn {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(0,0,0,0.08);
}

.block-editor__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.block-editor__btn--ghost {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
}

.block-editor__hint {
  margin: 8px 0 0;
}


/* Muted */
.muted {
  opacity: 0.75;
  font-size: 12px;
}

/* Loader */
.workflow-loading {
  position: relative;
}

.workflow-loader {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  opacity: 0.8;
  margin: 8px 0 10px;
}

.workflow-loader.is-visible {
  display: flex;
}

.workflow-loader .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  animation: wf-bounce 1.0s infinite ease-in-out;
}

.workflow-loader .dot:nth-child(2) { animation-delay: 0.12s; }
.workflow-loader .dot:nth-child(3) { animation-delay: 0.24s; }

@keyframes wf-bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.45; }
  40% { transform: scale(1.2); opacity: 0.9; }
}

/* Overlay */
.workflow-overlay {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
}

.workflow-overlay.is-visible {
  display: block;
}

/* 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: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    max-width: 100%;
  }

  .home-hero__frame {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
  }

  .home-hero__frame::before,
  .home-hero__frame::after,
  .home-hero__visual::before {
    display: none;
  }

  .home-hero__visual {
    min-height: auto;
    padding-right: 0;
  }

  .hero-composition {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-top: 0;
    align-items: stretch;
  }

  .hero-card,
  .hero-card--conversation,
  .hero-card--signal,
  .hero-card--booking {
    position: relative;
    min-height: auto;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin-right: 0;
    align-self: stretch;
  }

  .home-proof-strip,
  .home-outcomes__grid,
  .home-audience__grid,
  .home-pricing__grid {
    grid-template-columns: 1fr;
  }

  .home-feature {
    grid-template-columns: 1fr;
  }

  .home-feature:nth-child(even) .home-feature__body,
  .home-feature:nth-child(even) .home-feature__visual {
    order: initial;
  }
}

@media (max-width: 479px) {
  .home-qualify {
    padding-top: 18px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px 10px;
    gap: 20px;
  }

  .home-hero__title {
    margin-top: 14px;
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.02;
  }

  .home-hero__lede {
    font-size: 16px;
  }

  .home-hero__microcopy {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .home-hero__actions .btn-start,
  .home-hero__actions .btn-white {
    width: 100%;
    text-align: center;
  }

  .home-hero__highlights {
    grid-template-columns: 1fr;
  }

  .home-hero__trust {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero__visual {
    min-height: auto;
  }

  .hero-card {
    padding: 16px;
    border-radius: 20px;
  }

  .home-proof-strip {
    padding: 0 18px 10px;
    grid-template-columns: 1fr;
  }

  .home-outcomes,
  .home-sections,
  .home-audience,
  .home-pricing,
  .home-closing {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-sections {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .home-sections__intro h2 {
    font-size: 34px;
  }

  .home-outcomes__grid,
  .home-audience__grid,
  .home-pricing__grid {
    grid-template-columns: 1fr;
  }

  .home-outcomes__intro p {
    font-size: 16px;
  }

  .home-sections__intro p,
  .home-feature p,
  .home-pricing__intro p {
    font-size: 16px;
  }

  .home-features {
    padding-top: 16px;
  }

  .home-feature {
    width: 100%;
    padding: 22px 18px;
    border-radius: 22px;
    grid-template-columns: 1fr;
  }

  .home-feature h2 {
    font-size: 28px;
  }

  .home-feature:nth-child(even) .home-feature__body,
  .home-feature:nth-child(even) .home-feature__visual {
    order: initial;
  }

  .home-feature__body > span:last-child,
  .home-feature__topline {
    font-size: 14px;
  }

  .home-mini-calendar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-plan {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .home-plan__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-plan__header strong {
    font-size: 30px;
  }

  .home-plan__actions .btn-start,
  .home-plan__actions .btn-white {
    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;
  }

  .home-closing__panel {
    padding: 28px 22px;
  }

  .home-closing__actions .btn-start,
  .home-closing__actions .btn-white {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .home-audience__card strong {
    font-size: 22px;
  }

  .nav-links--home {
    gap: 12px;
  }

  .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;
  }

  .home-hero__actions,
  .home-hero__trust {
    justify-content: center;
  }

  .home-hero__content {
    text-align: center;
    align-items: center;
  }

  .home-hero__lede {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__microcopy {
    text-align: center;
  }
}
