/* ==========================================================================
   Free Mutual Finder — Royal Blue & Sky Blue Education Platform Theme
   Strict anti-green branding, responsive desktop + mobile layout, chatbot modal
   ========================================================================== */

:root {
  --navy-950: #061539;
  --navy-900: #0a2463;
  --royal-700: #1746b3;
  --royal-600: #1e56d9;
  --indigo-600: #2b45d4;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --sky-100: #e6f2ff;
  --sky-50: #f2f8ff;
  --white: #ffffff;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --border-light: #d7e5f8;
  --shadow-lg: 0 22px 54px rgba(10, 36, 99, 0.14);
  --shadow-sm: 0 8px 24px rgba(10, 36, 99, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--slate-900);
  background: var(--sky-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

main,
.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy-900);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  display: inline-flex;
}

.brand-emblem svg {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-title {
  font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.header-cta {
  border: none;
  background: linear-gradient(135deg, var(--royal-700), var(--indigo-600));
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(23, 70, 179, 0.24);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 70, 179, 0.3);
}

/* Full-Width Text-Over-Image Hero Banner */
.hero-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: 1;
  min-height: clamp(500px, 72vh, 660px);
  display: flex;
  align-items: center;
  background-color: #ffffff;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.hero-bg-layer.is-active {
  opacity: 1;
}

/* White-to-Transparent Gradient Overlay for Readable Hindi Text */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.91) 34%,
    rgba(255, 255, 255, 0.56) 52%,
    rgba(255, 255, 255, 0.08) 68%,
    rgba(255, 255, 255, 0) 80%
  );
}

.hero-overlay-content {
  position: relative;
  z-index: 3;
  padding-top: 44px;
  padding-bottom: 34px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 550px;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--royal-700);
  letter-spacing: 0.01em;
}

/* Lock same text position across both slides with smooth fade transition */
.hero-slides-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin-bottom: 18px;
}

.hero-text-slide {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.hero-text-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-heading {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.24;
  color: var(--navy-950);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-description {
  margin: 0;
  font-size: 1.06rem;
  color: var(--slate-700);
  max-width: 520px;
  overflow-wrap: break-word;
}

.hero-action-row {
  margin-bottom: 18px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--royal-600) 65%, var(--cyan-500) 130%);
  color: var(--white);
  font-family: inherit;
  font-size: 1.06rem;
  font-weight: 700;
  padding: 14px 28px;
  min-height: 52px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(23, 70, 179, 0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(23, 70, 179, 0.38);
}

.hero-cta-btn:focus-visible,
.header-cta:focus-visible,
.chat-icon-btn:focus-visible,
.hero-arrow-btn:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 2px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}

.trust-sep {
  color: var(--cyan-500);
  font-weight: 800;
}

/* Mobile-only visual container is hidden on desktop */
.hero-mobile-visual {
  display: none;
}

/* Carousel Prev/Next Arrows & 2 Dots */
.hero-carousel-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #bfd7f8;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10, 36, 99, 0.1);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.hero-arrow-btn:hover {
  background: var(--royal-700);
  color: var(--white);
  border-color: var(--royal-700);
}

/* Compact Slim Footer */
.site-footer {
  background: var(--navy-950);
  color: #dbeafe;
  padding: 10px 0;
  border-top: 2px solid var(--cyan-500);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-line {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #c7dcf8;
}

.footer-line strong {
  color: var(--white);
  font-weight: 700;
}

/* ==========================================================================
   Mobile & Tablet Responsive Layout (<= 1023px)
   Text-First, Image-Second Vertical Stack (NO Desktop overlay!)
   ========================================================================== */
@media (max-width: 1023px) {
  .header-inner {
    min-height: 60px;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    min-height: auto;
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
  }

  /* Disable desktop background & scrim on Mobile & Tablet */
  .hero-bg-slides,
  .hero-scrim {
    display: none;
  }

  .hero-overlay-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-slides-text {
    order: 1;
    width: 100%;
    margin-bottom: 14px;
    text-align: left;
  }

  .hero-kicker {
    width: 100%;
    font-size: 0.85rem;
    margin-bottom: 6px;
    text-align: left;
  }

  .hero-heading {
    width: 100%;
    font-size: clamp(1.42rem, 4.4vw, 2rem);
    line-height: 1.28;
    margin-bottom: 8px;
    max-width: 100%;
    text-align: left;
    text-wrap: normal;
  }

  .hero-description {
    width: 100%;
    font-size: 0.96rem;
    line-height: 1.5;
    max-width: 100%;
    text-align: left;
  }

  /* Full-width uncropped Mobile & Tablet image right after Description */
  .hero-mobile-visual {
    order: 2;
    display: block;
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-mobile-stage {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
  }

  .hero-mobile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }

  .hero-mobile-img[data-slide-mobile="1"] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
  }

  .hero-mobile-img.is-active {
    opacity: 1;
  }

  /* Chat Button directly below Hero Image */
  .hero-action-row {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
  }

  .hero-cta-btn {
    padding: 13px 22px;
    min-height: 48px;
    font-size: 0.98rem;
  }

  /* Trust Indicators directly below Chat Button */
  .trust-list {
    order: 4;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.85rem;
    gap: 8px;
    margin-bottom: 14px;
  }

  /* Arrows and 2 Dots neatly centered below Trust Indicators */
  .hero-carousel-controls {
    order: 5;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 639px) {
  .container {
    padding: 0 16px;
  }

  .hero-overlay-content {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .hero-cta-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Same-Page Chatbot Window
   Desktop (>= 1024px): Compact Bottom-Right Floating Chat Window (380x590px)
   with clear, clickable, scrollable background website
   ========================================================================== */
.chat-overlay[hidden] {
  display: none !important;
}

.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
}

.chat-backdrop {
  display: none;
}

.chat-dialog {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: min(590px, calc(100vh - 40px));
  background: var(--white);
  border: 1px solid #c7daf6;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(6, 21, 57, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatPopIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: linear-gradient(135deg, var(--navy-950), var(--royal-700));
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.chat-header-brand h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.chat-header-brand p {
  margin: 1px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #a5f3fc;
  letter-spacing: 0.02em;
}

.chat-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  background: #f3f8ff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-row {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.msg-row--bot {
  align-self: flex-start;
}

.msg-row--user {
  align-self: flex-end;
}

.msg-bubble {
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.55;
  white-space: pre-line;
  word-break: break-word;
}

.msg-row--bot .msg-bubble {
  background: var(--white);
  color: var(--slate-900);
  border: 1px solid #d9e7fa;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 12px rgba(10, 36, 99, 0.05);
}

.msg-row--user .msg-bubble {
  background: linear-gradient(135deg, var(--royal-700), var(--indigo-600));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.msg-bubble--error {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
}

.info-card {
  margin-top: 8px;
  background: #f8fbff;
  border: 1px solid #cfe0f9;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.88rem;
}

.info-card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #e6effc;
}

.info-card-row:last-child {
  border-bottom: none;
}

.info-card-label {
  color: var(--slate-500);
  font-weight: 600;
  flex-shrink: 0;
}

.info-card-val {
  color: var(--navy-950);
  font-weight: 700;
  text-align: right;
}

/* Typing indicator */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--royal-600);
  opacity: 0.4;
  animation: typingBounce 1.1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Chat Controls Area */
.chat-controls {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 14px 16px;
  flex-shrink: 0;
  max-height: 46vh;
  overflow-y: auto;
}

.chat-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-choice-btn {
  width: 100%;
  text-align: left;
  border: 1px solid #bdd3f6;
  background: #f5f9ff;
  color: var(--navy-900);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.chat-choice-btn:hover {
  background: #e5f0ff;
  border-color: var(--royal-600);
}

.chat-choice-btn--primary {
  background: linear-gradient(135deg, var(--royal-700), var(--indigo-600));
  color: var(--white);
  border-color: transparent;
  text-align: center;
}

.chat-choice-btn--primary:hover {
  background: linear-gradient(135deg, var(--navy-900), var(--royal-700));
}

.chat-input-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #bdd3f6;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--slate-900);
}

.chat-input:focus {
  outline: none;
  border-color: var(--royal-600);
  box-shadow: 0 0 0 3px rgba(30, 86, 217, 0.14);
}

.chat-send-btn {
  border: none;
  background: var(--royal-700);
  color: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.chat-send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chat-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Searchable Multi-Select */
.multi-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
}

.selected-chip button {
  border: none;
  background: transparent;
  color: var(--cyan-400);
  font-weight: 800;
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.92rem;
}

.multi-list {
  max-height: 170px;
  overflow-y: auto;
  border: 1px solid #d5e4f8;
  border-radius: 11px;
  background: #fafcff;
}

.multi-item {
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid #edf3fc;
  background: transparent;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.multi-item:last-child { border-bottom: none; }
.multi-item:hover { background: #edf5ff; }
.multi-item.is-selected {
  background: #dbeafe;
  font-weight: 700;
  color: var(--navy-900);
}

.multi-item small {
  color: var(--slate-500);
  font-size: 0.76rem;
}

/* Share & Group Action Links (Step 14 / Existing No-Change) */
.action-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.action-link-btn--share {
  background: var(--royal-700);
  color: var(--white);
}

.action-link-btn--group {
  background: #e6f4fe;
  color: var(--navy-900);
  border-color: #9fd5fb;
}

.summary-edit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.summary-edit-btn {
  border: 1px solid #bdd3f6;
  background: #f5f9ff;
  color: var(--royal-700);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* DOB Calendar Picker (DD/MM/YYYY + Keyboard Input) */
.dob-picker-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dob-input-box {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.dob-input-box .chat-input {
  width: 100%;
  padding-right: 42px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.dob-cal-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--royal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dob-cal-toggle:hover {
  background: #dbeafe;
}

.dob-popover {
  background: #f8fbff;
  border: 1px solid #bdd3f6;
  border-radius: 12px;
  padding: 10px;
}

.dob-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.dob-cal-nav {
  width: 30px;
  height: 30px;
  border: 1px solid #bdd3f6;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
  cursor: pointer;
}

.dob-cal-selects {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.dob-cal-select {
  border: 1px solid #bdd3f6;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 6px;
}

.dob-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.dob-cal-dow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-500);
  padding: 3px 0;
}

.dob-cal-day {
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--slate-900);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
}

.dob-cal-day:hover:not(:disabled) {
  background: #dbeafe;
  color: var(--navy-900);
}

.dob-cal-day.is-selected {
  background: var(--royal-700);
  color: var(--white);
  font-weight: 700;
}

.dob-cal-day:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

/* Mobile & Tablet Modal / Bottom Sheet Chat (<= 1023px) */
@media (max-width: 1023px) {
  .chat-overlay {
    pointer-events: auto;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
  }

  .chat-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(6, 21, 57, 0.56);
    backdrop-filter: blur(3px);
  }

  .chat-dialog {
    width: 100%;
    max-width: 540px;
    height: min(740px, 88dvh);
    border: none;
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(6, 21, 57, 0.38);
  }
}

@media (max-width: 640px) {
  .chat-overlay {
    padding: 0;
  }

  .chat-dialog {
    max-width: 100%;
    height: 94dvh;
    border-radius: 20px 20px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
