  /* CSS Variables */
    :root {
      --navy:       #11375c;
      --navy-light: #1a4a7a;
      --gold:       #f17425;
      --green:      #28a745;
      --text-dark:  #11375c;
      --text-muted: #6b7f94;
      --border:     #d4dce6;
      --bg-page:    #ffffff;
      --bg-card:    #ffffff;
      --shadow:     0 4px 24px rgba(15,37,64,.10);
    }

    /* Reset */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Barlow', sans-serif;
      background: var(--bg-page);
      color: var(--text-dark);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Navbar */
    #topnav {
      background: var(--navy);
      position: sticky;
      top: 0;
      z-index: 500;
      box-shadow: 0 2px 12px rgba(0,0,0,.25);
    }
    .nav-container {
      max-width: 1380px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 74px;
    }

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    .logo-emblems {
      display: flex;
      gap: 6px;
      flex-shrink: 0;
      align-items: center;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .logo-text .head-title {
      font-size: clamp(8px, 2vw, 16px);
      font-weight: 700;
      letter-spacing: .06em;
      color: #fff;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .logo-text .sub-title {
      font-size: clamp(7px, 1.6vw, 13px);
      font-weight: 700;
      letter-spacing: .28em;
      word-spacing: .10em;
      color: #ffffff;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 4px;
    }
    .nav-links a {
      display: block;
      padding: 8px 14px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: rgba(255,255,255,.75);
      text-decoration: none;
      border-radius: 4px;
      transition: color .4s, transform .4s, background .4s;
    }
    .nav-links a:hover { color: #fff; background: none; }
    .nav-links a.active { color: rgba(255,255,255,.75); background: none; }

    @media (min-width: 769px) {
      .nav-links {
        display: flex;
        align-items: center;
        gap: 0;
      }
      .nav-links li {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
      }
      .nav-links a {
        transform-origin: right center;
        transition: color .4s ease, transform .4s ease;
        white-space: nowrap;
        display: inline-block;
      }
      .nav-links li:not(:last-child) a:hover {
        color: #ffffff;
        transform: scale(1.4);
        background: none;
      }
      .nav-links:has(li:not(:last-child) a:hover) li:not(:hover):not(:last-child) a {
        transform: translateX(-15px) scale(0.92);
        color: rgba(255,255,255,.5);
        transition: color .4s ease, transform .4s ease;
      }
      .btn-signin {
        transform-origin: center center !important;
        font-size: 18px !important;
        padding: 9px 22px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: none !important;
      }
      .btn-signin:hover {
        transform: none !important;
        background: #d4621e !important;
        color: #ffffff !important;
      }
      .nav-links li:last-child a {
        transform: none !important;
      }
    }

    .btn-signin {
      background: var(--gold);
      color: #ffffff !important;
      border-radius: 5px !important;
      font-weight: 700 !important;
      padding: 8px 20px !important;
      text-transform: none !important;
      transition: background .2s, transform .15s !important;
    }
    .btn-signin:hover { background: #d4621e !important; transform: translateY(-1px); }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px;
      border: none;
      background: none;
      flex-shrink: 0;
      outline: none;
      box-shadow: none;
      -webkit-appearance: none;
      appearance: none;
    }
    .hamburger span {
      display: block;
      width: 26px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: all .3s;
    }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    #mobile-menu {
      display: none;
      flex-direction: column;
      background: #ffffff;
      padding: 8px 16px 16px;
      border-top: 1px solid #e0e0e0;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 999;
      box-shadow: 0 8px 24px rgba(0,0,0,.15);
    }
    #mobile-menu a {
      display: block;
      padding: 11px 12px;
      color: #212529;
      text-decoration: none;
      font-size: 13px;
      font-weight: 400;
      letter-spacing: .04em;
      text-transform: uppercase;
      border-radius: 4px;
      transition: background .2s;
    }
    #mobile-menu a:hover { background: #f5f5f5; }
    #mobile-menu.open { display: flex; }

    main {
      flex: 1;
      max-width: 960px;
      width: 100%;
      margin: 30px auto;
      padding: 0 20px 60px;
      animation: fadeUp .5s ease both;
    }

    @media (min-width: 769px) {
      main { max-width: 1125px; }
      .logo-emblems img { width: 54px !important; height: 54px !important; }
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .page-subtitle {
      font-family: 'Calibri', 'Candara', sans-serif;
      font-size: 25px;
      font-weight: 400;
      color: #11375c;
      margin-bottom: 30px;
    }

    .status-card {
      background: var(--bg-card);
      border: 1px solid #000000;
      border-radius: 6px;
      padding: 20px 48px 36px;
    }

    @media (min-width: 769px) {
      .status-card { padding: 20px 15px 15px; }
    }
    .photo-wrap {
      display: flex;
      justify-content: center;
      margin-bottom: 24px;
    }
    .photo-wrap img {
      width: 200px;
      height: 200px;
      object-fit: cover;
      object-position: center top;
      border-radius: 6px;
      display: block;
      cursor: pointer;
    }
    .status-badge {
      display: block;
      width: 100%;
      text-align: center;
      background: #2eca8b;
      color: #fff;
      font-family: 'Calibri', 'Candara', sans-serif;
      font-size: 20px;
      font-weight: 400;
      text-transform: uppercase;
      padding: 12px 0;
      border-radius: 6px;
      margin-bottom: 24px;
      border: none;
      cursor: pointer;
      transition: background .2s ease;
    }
    .status-badge:hover { background: #00a651; }
    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    @media (min-width: 769px) {
      .info-grid { column-gap: 25px; }
    }
    .info-field {
      border: 1px solid #000000;
      border-radius: 6px;
      padding: 12px 16px;
      background: #ffffff;
      transition: border-color .2s;
    }
    .info-field:hover { border-color: #000000; }
    .info-field .field-label {
      font-family: 'Calibri', 'Candara', sans-serif;
      font-size: 17px;
      font-weight: 400;
      color: #11375c;
      margin-bottom: 4px;
    }
    .info-field .field-value {
      font-family: 'Calibri', 'Candara', sans-serif;
      font-size: 24px;
      font-weight: 400;
      color: #11375c;
      line-height: 1.35;
    }
    .info-field.full-width { grid-column: 1 / -1; }

    footer {
      background: var(--navy);
      color: rgba(255,255,255,.7);
      padding: 18px 24px;
      font-family: 'Calibri', 'Candara', sans-serif;
    }

    @media (min-width: 769px) {
      footer { padding: 25px 24px; }
    }
    .footer-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }

    @media (min-width: 769px) {
      .footer-inner { max-width: 1300px; }
    }
    .footer-copy, .footer-addr { font-size: 15px; }
    .footer-contact { display: flex; align-items: center; gap: 16px; }
    .footer-contact span { font-size: 20px; font-weight: 400; }

    @media (min-width: 769px) {
      .footer-copy  { font-size: 20px; font-weight: 400; }
      .footer-addr  { font-size: 20px; font-weight: 400; }
      .footer-contact span { font-size: 18px; font-weight: 400; }
      .social-icons img { width: 24px !important; height: 24px !important; }
    }
    .social-icons { display: flex; gap: 8px; }
    .social-icons a {
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: opacity .2s, transform .2s;
    }
    .social-icons a:hover { opacity: .8; transform: translateY(-2px); }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      #topnav { height: auto; position: sticky; top: 0; }
      .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 25px 16px;
        align-items: center;
        gap: 20px;
      }
      .logo-wrap {
        flex: 1 1 320px;
        min-width: 320px;
        align-items: center;
        gap: 8px;
      }
      .logo-emblems {
        flex-direction: row;
        align-items: center;
        flex-shrink: 0;
        gap: 4px;
      }
      .logo-emblems img { width: 28px !important; height: 28px !important; }
      .logo-text {
        flex: none;
        display: flex;
        flex-direction: column;
        white-space: nowrap;
        gap: 8px;
      }
      .logo-text .head-title { line-height: 1.25; color: #ffffff; white-space: nowrap; }
      .logo-text .sub-title  { line-height: 1.3;  color: #ffffff; white-space: nowrap; }
      .hamburger { display: flex; flex-shrink: 0; margin-left: auto; }
      main { margin: -25px auto 0; }
      .status-card { margin-top: -15px; position: relative; }
      .status-card { padding: 24px 16px 20px; }
      .info-grid { grid-template-columns: 1fr; }
      .info-field.full-width { grid-column: 1; }
      .footer-inner { flex-direction: column; text-align: center; }
      .footer-contact { justify-content: center; }
      .social-icons img { width: 22px !important; height: 22px !important; }
      .footer-contact span { font-size: 20px; font-weight: 400; }
    }

    @media (max-width: 768px) {
      .logo-text .head-title { white-space: normal !important; }
      .logo-text .sub-title  { white-space: normal !important; }
    }

    @media (max-width: 480px) {
      .logo-text .head-title { font-size: 11px; }
      .logo-text .sub-title  { font-size: 8px; }
      .logo-emblems svg { width: 28px; height: 28px; }
    }

    /* Chatbot floating button */
    .chatbot-wrap {
      position: fixed;
      bottom: 15px;
      right: 15px;
      display: flex;
      align-items: center;
      gap: 0;
      z-index: 9999;
      cursor: pointer;
      transition: transform .2s ease;
    }
    .chatbot-wrap:hover {
      transform: scale(1.08);
    }
    .chatbot-pill-container {
      position: relative;
      display: inline-flex;
      align-items: center;
    }
    .chatbot-label-behind {
      background: #f0f0f0;
      border-radius: 30px;
      position: absolute;
      top: 0;
      left: 0;
      width: calc(100% + 25px);
      height: 100%;
      opacity: 0.6;
      box-shadow: 0 2px 10px rgba(0,0,0,.15);
      z-index: 0;
    }
    .chatbot-label {
      background: #f0f0f0;
      color: #000;
      font-family: 'Calibri', 'Candara', sans-serif;
      font-size: 16px;
      font-weight: 700;
      padding: 10px 20px;
      border-radius: 30px;
      white-space: nowrap;
      box-shadow: 0 2px 10px rgba(0,0,0,.15);
      margin-right: 0;
      display: block;
      opacity: 0.6;
      transition: opacity .3s;
      position: relative;
      z-index: 1;
    }
    .chatbot-btn {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      object-fit: cover;
      cursor: pointer;
      transition: transform .2s ease;
      flex-shrink: 0;
      position: relative;
      z-index: 2;
    }
    /* Chatbot Modal */
    .chatbot-modal-overlay {
      display: none;
      position: fixed;
      bottom: 120px;
      right: 15px;
      z-index: 99999;
      width: 430px;
    }
    .chatbot-modal-overlay.open {
      display: block;
    }
    .chatbot-modal {
      background: #fff;
      border-radius: 18px;
      width: 100%;
      max-width: 430px;
      height: 570px;
      max-height: 85vh;
      overflow: hidden;
      box-shadow: none;
      border: 2px solid #aaaaaa;
      font-family: 'Calibri', 'Candara', sans-serif;
      display: flex;
      flex-direction: column;
    }
    .chatbot-modal-header {
      background: var(--navy);
      border-radius: 18px 18px 0 0;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .chatbot-modal-logos {
      display: flex;
      gap: 6px;
      flex-shrink: 0;
    }
    .chatbot-modal-header-text {
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      line-height: 1.4;
    }
    .chatbot-modal-body {
      padding: 24px 28px 28px;
      text-align: center;
      overflow-y: auto;
      flex: 1;
    }
    .chatbot-modal-title {
      font-size: 22px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 14px;
    }
    .chatbot-modal-desc {
      font-size: 15px;
      color: #11375c;
      line-height: 1.6;
      margin-bottom: 16px;
      text-align: center;
    }
    .chatbot-modal-sub {
      font-size: 15px;
      color: #11375c;
      margin-bottom: 10px;
      text-align: center;
    }
    .chatbot-modal-list {
      text-align: left;
      font-size: 15px;
      color: #11375c;
      line-height: 1.8;
      margin: 0 auto 20px;
      padding-left: 20px;
      display: inline-block;
    }
    .chatbot-modal-question {
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 18px;
    }
    .chatbot-modal-buttons {
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .chatbot-modal-btn {
      padding: 8px 14px;
      border-radius: 6px;
      border: none;
      font-size: 11px;
      font-weight: 400;
      cursor: pointer;
      transition: background .2s, transform .15s;
    }
    .chatbot-modal-btn.yes {
      background: var(--navy);
      color: #fff;
    }
    .chatbot-modal-btn.yes:hover { background: var(--navy-light); transform: translateY(-1px); }
    .chatbot-modal-btn.no {
      background: var(--navy);
      color: #fff;
    }
    .chatbot-modal-btn.accept-full {
      width: 100%;
      padding: 14px;
      font-size: 15px;
      font-weight: 400;
      border-radius: 8px;
      background: var(--navy);
      color: #fff;
      margin-top: 8px;
    }
    .chatbot-modal-btn.accept-full:hover { background: var(--navy-light); transform: translateY(-1px); }
    /* Close Button */
    .chatbot-modal-close-wrap {
      display: none;
    }

    /* Mobile: fullscreen floating modals */
    @media (max-width: 768px) {
      .chatbot-modal-overlay {
        width: 100vw !important;
        height: 100vh !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 99999 !important;
        display: none;
        align-items: center;
        justify-content: center;
        background: transparent !important;
      }
      .chatbot-modal-overlay.open {
        display: flex !important;
      }
      .chatbot-modal {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        height: calc(100vh - 16px) !important;
        max-height: calc(100vh - 16px) !important;
        border-radius: 18px !important;
        border: 2px solid #aaaaaa !important;
        box-shadow: 0 8px 40px rgba(0,0,0,0.3) !important;
        overflow: hidden !important;
      }
      .chatbot-modal-close-wrap {
        display: flex;
        justify-content: flex-end;
        padding: 10px 14px 0;
        flex-shrink: 0;
      }
      .chatbot-modal-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: #11375c;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
      }
      .chatbot-modal-close svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
        stroke-width: 2.5;
      }
    }

    /* Login Modal Styles */
    .login-body { text-align: left; }
    .login-title {
      font-size: 24px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 4px;
    }
    .login-subtitle {
      font-size: 14px;
      color: var(--navy);
      margin-bottom: 20px;
    }
    .login-field-group { margin-bottom: 16px; }
    .login-label {
      font-size: 14px;
      font-weight: 600;
      color: var(--navy);
      display: block;
      margin-bottom: 6px;
    }
    .login-required { color: #e74c3c; margin-left: 2px; }
    .login-input-wrap {
      display: flex;
      align-items: center;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 10px 12px;
      gap: 10px;
      background: #fff;
    }
    .login-input {
      border: none;
      outline: none;
      font-size: 14px;
      color: #333;
      flex: 1;
      font-family: 'Calibri', 'Candara', sans-serif;
    }
    .login-input::placeholder { color: #bbb; }
    .login-icon { flex-shrink: 0; }
    .login-eye { flex-shrink: 0; cursor: pointer; }
    .login-recaptcha {
      margin-bottom: 20px;
    }
    .login-btn { margin-bottom: 16px; }
    .login-create {
      text-align: center;
      font-size: 13px;
      color: #555;
    }
    .login-create-link {
      color: var(--navy);
      text-decoration: none;
      font-weight: 600;
    }
    .login-create-link:hover { text-decoration: underline; }

    /* ── Top Loading Bar ── */
    #top-loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 4px;
      background: linear-gradient(90deg, #f17425, #f9a46a);
      z-index: 2147483647;
      border-radius: 0 2px 2px 0;
      box-shadow: 0 0 8px rgba(241,116,37,.6);
      transition: width .1s ease;
      pointer-events: none;
    }

    /* ── Circular Spinner ── */
    #top-spinner {
      position: fixed;
      top: 8px;
      right: 14px;
      width: 20px;
      height: 20px;
      z-index: 2147483647;
      pointer-events: none;
    }
    #top-spinner::before {
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 2.5px solid rgba(241,116,37,.25);
      border-top-color: #f17425;
      animation: spin .7s linear infinite;
      box-shadow: 0 0 6px rgba(241,116,37,.3);
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }


/* ── State boxes (loading / error) ── */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 260px;
  font-family: 'Calibri', 'Candara', sans-serif;
  font-size: 18px;
  color: #11375c;
  text-align: center;
  padding: 40px 20px;
}

.state-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(17, 55, 92, 0.15);
  border-top-color: #11375c;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
