:root {
      --ink: #15162B;
      --ink-soft: #4B4B63;
      --paper: #FDFBF5;
      --paper-dim: #F6F2E9;
      --rust: #8A4A2A;
      --rust-light: #C97B4A;
      --rust-wash: #F4E4D8;
      --sand: #E7E0D2;
      --forest: #2F7A4F;
      --white: #FFFFFF;
      --shadow: 0 20px 50px -20px rgba(21, 22, 43, 0.25);
      --shadow-sm: 0 4px 16px -4px rgba(21, 22, 43, 0.08);
      --radius-lg: 24px;
      --radius-md: 16px;
      --maxw: 1240px;
      --mono: 'IBM Plex Mono', monospace;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: 'Inter', system-ui, sans-serif;
      -webkit-font-smoothing: antialiased;
      line-height: 1.5;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'Inter Tight', 'Inter', sans-serif;
      font-weight: 800;
      letter-spacing: -0.025em;
      margin: 0;
      color: var(--ink);
    }

    em.accent {
      font-family: 'Fraunces', serif;
      font-style: italic;
      font-weight: 500;
      color: var(--rust);
    }

    p {
      margin: 0;
    }

    a {
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .wrap {
      max-width: var(--maxw);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Eyebrow & Badges */
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font: 600 11px var(--mono);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--rust);
      background: var(--rust-wash);
      border: 1px solid rgba(138, 74, 42, 0.18);
      padding: 6px 14px;
      border-radius: 999px;
    }

    .badge-live {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font: 700 10.5px var(--mono);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      background: #DC2626;
      color: #FFFFFF;
      padding: 4px 10px;
      border-radius: 999px;
    }

    .badge-live::before {
      content: '';
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #FFFFFF;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(0.95);
        opacity: 0.8;
      }

      50% {
        transform: scale(1.3);
        opacity: 1;
      }

      100% {
        transform: scale(0.95);
        opacity: 0.8;
      }
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 13px 24px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 14px;
      text-decoration: none;
      cursor: pointer;
      border: 0;
      transition: all 0.2s ease;
      font-family: 'Inter', sans-serif;
    }

    .btn-primary {
      background: var(--rust);
      color: var(--white);
      box-shadow: 0 10px 24px -10px rgba(138, 74, 42, 0.45);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 30px -12px rgba(138, 74, 42, 0.55);
      background: #723B20;
      color: var(--white);
    }

    .btn-primary:active {
      transform: scale(0.98);
    }

    .btn-secondary {
      background: var(--rust-wash);
      color: var(--rust);
      border: 1px solid rgba(138, 74, 42, 0.25);
    }

    .btn-secondary:hover {
      background: #eed5c3;
      color: var(--rust);
    }

    .btn-outline {
      background: transparent;
      color: var(--ink);
      border: 1.5px solid var(--sand);
    }

    .btn-outline:hover {
      border-color: var(--rust);
      color: var(--rust);
    }

    .btn-header {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 9px 18px;
      font-size: 13px;
      font-weight: 700;
      border-radius: 999px;
      background: var(--rust);
      color: var(--white);
      text-decoration: none;
      box-shadow: 0 4px 14px -4px rgba(138, 74, 42, 0.4);
      transition: all 0.2s ease;
      white-space: nowrap;
      font-family: 'Inter', sans-serif;
    }

    .btn-header:hover {
      background: #723B20;
      color: var(--white);
      transform: translateY(-1px);
    }

    /* Announcement Bar */
    .top-announcement-bar {
      background: var(--ink);
      color: var(--paper);
      padding: 10px 0;
      font-size: 12.5px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .top-announcement-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      text-align: center;
    }

    .top-announcement-badge {
      background: var(--rust);
      color: #fff;
      font: 700 10px var(--mono);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 2px 8px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .top-announcement-link {
      color: var(--rust-light);
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

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

    /* Header & Navigation */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(253, 251, 245, 0.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--sand);
    }

    nav.wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Inter Tight', sans-serif;
      font-weight: 800;
      font-size: 16px;
      letter-spacing: -0.01em;
      text-decoration: none;
      color: var(--ink);
    }

    .logo .mark {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--rust);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
    }

    .logo small {
      display: block;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      letter-spacing: 0.1em;
      font-size: 9px;
      line-height: 1.2;
      color: var(--ink-soft);
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(12px, 1.8vw, 24px);
      font-size: 13.5px;
      font-weight: 700;
      color: var(--ink-soft);
    }

    .nav-links a {
      text-decoration: none;
      transition: color 0.18s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--rust);
    }

    .nav-home {
      color: #d97757;
      font-weight: 700;
      font-size: 13px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding-right: 18px;
      border-right: 1px solid var(--sand);
      margin-right: 2px;
      transition: color 0.2s ease;
    }

    .nav-home:hover {
      color: #c46648;
      text-decoration: underline;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-toggle {
      display: none;
      width: 38px;
      height: 38px;
      border-radius: 9px;
      border: 1.5px solid var(--sand);
      background: #fff;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
    }

    .nav-toggle svg {
      width: 18px;
      height: 18px;
    }

    @media(max-width: 960px) {
      .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--sand);
        padding: 6px 24px 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
      }

      .nav-links.open {
        max-height: 440px;
      }

      .nav-links a {
        padding: 12px 0;
        border-top: 1px solid var(--sand);
      }

      .nav-links a:first-child {
        border-top: none;
      }

      .nav-home {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
      }

      .nav-toggle {
        display: flex;
      }
    }

    @media(max-width: 600px) {
      nav.wrap {
        padding: 8px 16px;
      }

      .logo {
        font-size: 13.5px;
        gap: 8px;
      }

      .logo .mark {
        width: 34px;
        height: 34px;
        border-radius: 8px;
      }

      .logo small {
        font-size: 7.5px;
        letter-spacing: 0.05em;
        line-height: 1.15;
      }

      .nav-right {
        gap: 6px;
      }

      .nav-right .btn-header {
        padding: 6px 11px;
        font-size: 11px;
        white-space: nowrap;
      }
    }

    /* PAGE HERO & MAIN GRID */
    .session-page {
      padding: 36px 0 72px;
    }

    @media(max-width: 600px) {
      .session-page {
        padding: 20px 0 48px;
      }
    }

    .session-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 38px;
      align-items: start;
    }

    @media(max-width: 980px) {
      .session-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      .session-info {
        gap: 16px;
      }

      .session-form-wrap {
        position: static;
        width: 100%;
      }
    }

    /* LEFT COLUMN: HERO & INFO */
    .session-info {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .session-header h1 {
      font-size: clamp(28px, 3.8vw, 46px);
      line-height: 1.1;
      margin: 12px 0 10px;
    }

    .session-sub {
      font-size: 15.5px;
      color: var(--ink-soft);
      line-height: 1.5;
      max-width: 560px;
    }

    @media(max-width: 600px) {
      .session-header h1 {
        font-size: 26px;
        margin: 10px 0 8px;
      }

      .session-sub {
        font-size: 14px;
      }
    }

    /* SESSION DETAILS SECTION (Full Width Below Conversion Area) */
    .session-details-wrap {
      margin-top: 56px;
      padding-top: 48px;
      border-top: 1px solid var(--sand);
      display: flex;
      flex-direction: column;
      gap: 36px;
    }

    /* Highlights Grid */
    .session-highlights-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    @media(max-width: 980px) {
      .session-details-wrap {
        margin-top: 36px;
        padding-top: 32px;
        gap: 28px;
      }

      .session-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
      }
    }

    @media(max-width: 600px) {
      .session-highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
    }

    .highlight-card {
      background: var(--white);
      border: 1px solid var(--sand);
      border-radius: var(--radius-md);
      padding: 20px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .highlight-card:hover {
      transform: translateY(-2px);
      border-color: var(--rust-light);
    }

    .highlight-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: var(--rust-wash);
      color: var(--rust);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      margin-bottom: 12px;
    }

    .highlight-card h3 {
      font-size: 16px;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .highlight-card p {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.45;
    }

    /* Session Schedule Banner */
    .schedule-box {
      background: var(--paper-dim);
      border: 1.5px solid var(--sand);
      border-radius: var(--radius-md);
      padding: 22px;
    }

    .schedule-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      flex-wrap: wrap;
      gap: 8px;
    }

    .schedule-header h3 {
      font-size: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .schedule-header h3 i {
      color: var(--rust);
    }

    .schedule-slots {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    @media(max-width: 540px) {
      .schedule-slots {
        grid-template-columns: 1fr;
      }
    }

    .slot-item {
      background: var(--white);
      border: 1.5px solid var(--sand);
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .slot-item:hover {
      border-color: var(--rust-light);
      transform: translateY(-1px);
    }

    .slot-item.selected {
      border-color: var(--rust);
      background: var(--rust-wash);
      box-shadow: 0 4px 16px -4px rgba(138, 74, 42, 0.25);
    }

    .slot-item i.slot-video-icon {
      font-size: 18px;
      color: var(--rust);
    }

    .slot-check {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1.5px solid var(--sand);
      background: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      color: transparent;
      font-size: 11px;
      flex-shrink: 0;
      transition: all 0.2s ease;
    }

    .slot-item.selected .slot-check {
      background: var(--rust);
      border-color: var(--rust);
      color: var(--white);
    }

    .slot-item.concluded {
      background: rgba(246, 244, 239, 0.65);
      border: 1px dashed rgba(21, 22, 43, 0.18);
      cursor: not-allowed;
      opacity: 0.72;
      user-select: none;
    }

    .slot-item.concluded:hover {
      border-color: rgba(21, 22, 43, 0.18);
      transform: none;
      box-shadow: none;
    }

    .slot-item.concluded i.slot-video-icon,
    .slot-item.concluded i.fa-location-dot {
      color: #929599 !important;
    }

    .slot-item.concluded .slot-date {
      color: #55585d;
      font-weight: 700;
    }

    .slot-item.concluded .slot-type {
      color: #83888e;
    }

    .slot-badge-concluded {
      font-family: var(--mono, monospace);
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 6px;
      background: rgba(0, 0, 0, 0.06);
      color: #63686e;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }

    .slot-badge-concluded i {
      font-size: 9px;
      color: #7d8288;
    }

    .slot-date {
      font-weight: 800;
      font-size: 14px;
      color: var(--ink);
      display: block;
    }

    .slot-type {
      font-size: 11.5px;
      color: var(--ink-soft);
      display: block;
    }

    /* Host & Mentors snippet */
    .mentors-strip {
      background: var(--white);
      border: 1px solid var(--sand);
      border-radius: var(--radius-md);
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 14px;
    }

    .mentors-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .mentors-avatars {
      display: flex;
    }

    .mentors-avatars span {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--rust-wash);
      color: var(--rust);
      border: 2px solid var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 12px;
      margin-left: -8px;
    }

    .mentors-avatars span:first-child {
      margin-left: 0;
      background: var(--rust);
      color: var(--white);
    }

    .mentors-text strong {
      display: block;
      font-size: 13.5px;
      color: var(--ink);
    }

    .mentors-text span {
      font-size: 12px;
      color: var(--ink-soft);
    }

    /* FAQ Accordion */
    .session-faqs {
      margin-top: 10px;
    }

    .session-faqs h3 {
      font-size: 18px;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .faq-accordion {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .faq-item {
      background: var(--white);
      border: 1px solid var(--sand);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.2s ease;
    }

    .faq-q {
      padding: 14px 18px;
      font-weight: 700;
      font-size: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      user-select: none;
    }

    .faq-q i {
      font-size: 12px;
      color: var(--rust);
      transition: transform 0.2s ease;
    }

    .faq-item.open .faq-q i {
      transform: rotate(180deg);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.28s ease;
      padding: 0 18px;
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.5;
    }

    .faq-item.open .faq-a {
      padding: 0 18px 16px;
      max-height: 200px;
    }

    /* RIGHT COLUMN: REGISTRATION FORM CARD */
    .session-form-wrap {
      position: sticky;
      top: 90px;
    }

    .session-form-card {
      background: var(--white);
      border: 1.5px solid var(--sand);
      border-radius: var(--radius-lg);
      padding: 32px 28px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    @media(max-width: 600px) {
      .session-form-card {
        padding: 24px 18px;
        border-radius: 20px;
      }
    }

    .form-header {
      margin-bottom: 22px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--sand);
    }

    .form-header h2 {
      font-size: 22px;
      line-height: 1.25;
      margin: 8px 0 6px;
    }

    .form-header p {
      font-size: 13.5px;
      color: var(--ink-soft);
      line-height: 1.4;
    }

    /* Form Inputs */
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    @media(max-width: 540px) {
      .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
      }
    }

    .field {
      margin-bottom: 18px;
      position: relative;
    }

    .field label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      margin-bottom: 7px;
      color: var(--ink);
    }

    .field label .req {
      color: #DC2626;
      margin-left: 2px;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      height: 48px;
      padding: 12px 16px;
      border-radius: 12px;
      border: 1.5px solid var(--sand);
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      background: var(--paper);
      color: var(--ink);
      transition: all 0.18s ease;
      box-sizing: border-box;
    }

    .field textarea {
      height: auto;
      min-height: 80px;
    }

    /* Interactive Track Picker in Sessions Form */
    /* Interactive Track Picker in Sessions Form */
    .track-picker-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 6px;
    }

    @media(max-width: 560px) {
      .track-picker-grid {
        grid-template-columns: 1fr;
      }
    }

    .track-picker-card {
      background: var(--paper);
      border: 1.5px solid var(--sand);
      border-radius: 12px;
      padding: 10px 14px;
      cursor: pointer;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      user-select: none;
    }

    .track-picker-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 5px;
    }

    .track-picker-card:hover {
      border-color: var(--rust-light);
      background: #ffffff;
      transform: translateY(-1px);
    }

    .track-picker-card:active {
      transform: scale(0.98);
    }

    .track-picker-card.selected {
      border-color: var(--rust);
      background: #ffffff;
      box-shadow: 0 2px 10px -2px rgba(138, 74, 42, 0.15);
    }

    .track-picker-badge {
      font: 700 10.5px var(--mono);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--rust);
      background: var(--rust-wash);
      padding: 2.5px 7px;
      border-radius: 5px;
    }

    .track-picker-title {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--ink);
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .track-picker-check {
      font-size: 14px;
      color: var(--sand);
      transition: color 0.2s ease;
    }

    .track-picker-card.selected .track-picker-check {
      color: var(--rust);
    }

    /* ==========================================
       CLEAN TWO-CLASS SESSION SELECTOR & DATE PICKER
       ========================================== */
    .session-mode-switch {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--paper-dim);
      border: 1.5px solid var(--sand);
      border-radius: 12px;
      padding: 4px;
      gap: 6px;
      margin-top: 6px;
      margin-bottom: 12px;
    }

    @media (max-width: 500px) {
      .session-mode-switch {
        grid-template-columns: 1fr;
      }
    }

    .session-mode-btn {
      border: none;
      background: transparent;
      padding: 10px 14px;
      border-radius: 9px;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink-soft);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      user-select: none;
    }

    .session-mode-btn:hover {
      color: var(--ink);
      background: rgba(255, 255, 255, 0.6);
    }

    .session-mode-btn:active {
      transform: scale(0.98);
    }

    .session-mode-btn.selected {
      background: var(--white);
      color: var(--rust);
      box-shadow: 0 2px 8px -2px rgba(21, 22, 43, 0.12);
    }

    .session-subpanel {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 4px;
      animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .online-filter-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .online-filter-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--ink-soft);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-family: var(--mono, monospace);
    }

    .filter-chips {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .filter-chip {
      border: 1px solid var(--sand);
      background: var(--paper);
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 11.5px;
      font-weight: 700;
      color: var(--ink-soft);
      cursor: pointer;
      transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      user-select: none;
    }

    .filter-chip:hover {
      border-color: var(--rust-light);
      color: var(--ink);
      background: #FFFFFF;
    }

    .filter-chip:active {
      transform: scale(0.96);
    }

    .filter-chip.active {
      background: var(--rust);
      border-color: var(--rust);
      color: #FFFFFF;
      box-shadow: 0 2px 6px -2px rgba(138, 74, 42, 0.35);
    }

    /* Session Select Wrap with Dedicated Dropdown Arrow */
    .session-select-wrap {
      position: relative;
      width: 100%;
      display: flex;
      align-items: center;
    }

    .session-select-wrap .styled-clean-select {
      width: 100%;
      height: 48px;
      border-radius: 12px;
      border: 1.5px solid var(--sand);
      background-color: var(--paper);
      color: var(--ink);
      font-size: 13.5px;
      font-weight: 600;
      padding: 0 42px 0 15px;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      cursor: pointer;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .session-select-wrap .styled-clean-select:focus {
      outline: none;
      border-color: var(--rust);
      background-color: #FFFFFF;
      box-shadow: 0 0 0 3px var(--rust-wash);
    }

    .session-select-wrap .styled-clean-select option:disabled {
      color: #9CA3AF;
      background: #F3F4F6;
    }

    .session-select-arrow {
      position: absolute;
      right: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      color: var(--rust);
      pointer-events: none;
      font-size: 13px;
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    }

    .session-select-wrap:hover .session-select-arrow {
      color: var(--rust-light);
    }

    .session-select-wrap:focus-within .session-select-arrow {
      color: var(--rust);
      transform: translateY(1px);
    }

    /* Schedule slot live / recurring tags */
    .slot-recurring-tag {
      font-family: var(--mono, monospace);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 2.5px 7px;
      border-radius: 5px;
      background: var(--rust-wash);
      color: var(--rust);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin-left: 6px;
    }

    .slot-today-live {
      background: #FEF3C7;
      color: #B45309;
      border: 1px solid #FCD34D;
      animation: pulseToday 2s infinite ease-in-out;
    }

    @keyframes pulseToday {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.85; transform: scale(0.98); }
    }

    @media(max-width: 600px) {

      .field input,
      .field select,
      .field textarea {
        font-size: 16px;
        /* Prevents iOS auto zoom */
        padding: 12px 14px;
        height: 48px;
      }
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      outline: none;
      border-color: var(--rust);
      background: var(--white);
      box-shadow: 0 0 0 3.5px var(--rust-wash);
    }

    .field.error input,
    .field.error select {
      border-color: #DC2626;
      background: #FEF2F2;
    }

    .field-error-msg {
      display: none;
      color: #DC2626;
      font-size: 11.5px;
      font-weight: 600;
      margin-top: 4px;
    }

    .field.error .field-error-msg {
      display: block;
    }

    .form-submit-btn {
      width: 100%;
      padding: 15px 24px;
      font-size: 15px;
      font-weight: 800;
      margin-top: 8px;
      justify-content: center;
      border-radius: 999px;
    }

    .form-submit-btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

    .form-security-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 12px;
      color: var(--ink-soft);
      margin-top: 14px;
      text-align: center;
    }

    .form-security-note i {
      color: var(--forest);
      font-size: 13px;
    }

    /* Success View */
    .session-success-box {
      display: none;
      text-align: center;
      padding: 20px 0;
    }

    .session-success-box.show {
      display: block;
      animation: fadeIn 0.4s ease forwards;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .success-icon-circle {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: var(--forest);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin: 0 auto 16px;
      box-shadow: 0 10px 20px -6px rgba(47, 122, 79, 0.4);
    }

    .session-success-box h3 {
      font-size: 22px;
      margin-bottom: 8px;
    }

    .session-success-box p {
      font-size: 14px;
      color: var(--ink-soft);
      line-height: 1.5;
      margin-bottom: 20px;
    }

    .success-session-details {
      background: var(--paper-dim);
      border: 1px solid var(--sand);
      border-radius: 14px;
      padding: 16px;
      margin-bottom: 20px;
      text-align: left;
    }

    .success-session-details strong {
      display: block;
      font-size: 14px;
      color: var(--ink);
      margin-bottom: 4px;
    }

    .success-session-details span {
      display: block;
      font-size: 12.5px;
      color: var(--ink-soft);
    }

    .success-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* Phone Input With Searchable Country Picker */
    .phone-input-wrap {
      display: flex;
      align-items: stretch;
      background: var(--paper);
      border: 1.5px solid var(--sand);
      border-radius: 12px;
      transition: all 0.18s ease;
      position: relative;
      width: 100%;
    }

    .phone-input-wrap:focus-within {
      border-color: var(--rust);
      background: var(--white);
      box-shadow: 0 0 0 3.5px var(--rust-wash);
    }

    .country-picker-btn {
      background: #F4EFE6;
      border: none;
      border-right: 1.5px solid var(--sand);
      padding: 0 8px;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
      cursor: pointer;
      outline: none;
      width: 90px;
      flex-shrink: 0;
      border-top-left-radius: 10px;
      border-bottom-left-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      transition: background 0.15s ease;
      user-select: none;
    }

    .country-picker-btn:hover {
      background: #ECE4D6;
    }

    .country-picker-btn .country-flag {
      font-size: 15px;
      line-height: 1;
    }

    .country-picker-btn .country-dial {
      font-size: 13px;
      font-weight: 700;
    }

    .country-picker-btn .arrow {
      font-size: 9px;
      color: var(--ink-soft);
      transition: transform 0.2s ease;
      margin-left: 2px;
    }

    .country-picker-btn.open .arrow {
      transform: rotate(180deg);
    }

    .phone-input-wrap input {
      border: none !important;
      background: transparent !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      flex: 1;
      min-width: 0;
      padding: 12px 14px;
    }

    .field.error .phone-input-wrap {
      border-color: #DC2626;
      background: #FEF2F2;
    }

    /* Searchable Country Popover */
    .country-dropdown-popover {
      display: none;
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      width: 290px;
      max-width: 90vw;
      background: var(--white);
      border: 1.5px solid #E6D9C8;
      border-radius: 12px;
      box-shadow: 0 16px 36px -8px rgba(21, 22, 43, 0.22);
      z-index: 1050;
      overflow: hidden;
      animation: popoverFadeIn 0.15s ease forwards;
    }

    @keyframes popoverFadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .country-dropdown-popover.open {
      display: block;
    }

    .country-search-bar {
      padding: 8px 10px;
      background: #FAF7F0;
      border-bottom: 1px solid var(--sand);
      position: sticky;
      top: 0;
      z-index: 2;
    }

    .country-search-input {
      width: 100%;
      height: 36px;
      padding: 6px 10px;
      font-size: 13px;
      border: 1.5px solid var(--sand);
      border-radius: 8px;
      background: var(--white);
      outline: none;
      box-sizing: border-box;
      font-family: inherit;
    }

    .country-search-input:focus {
      border-color: var(--rust);
      box-shadow: 0 0 0 2px var(--rust-wash);
    }

    .country-options-list {
      max-height: 220px;
      overflow-y: auto;
      list-style: none;
      padding: 4px 0;
      margin: 0;
    }

    .country-option-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      font-size: 13px;
      cursor: pointer;
      transition: background 0.12s ease;
      color: var(--ink);
    }

    .country-option-item:hover {
      background: #FDFBF5;
      color: var(--rust);
    }

    .country-option-item.selected {
      background: var(--rust-wash);
      font-weight: 700;
      color: var(--rust);
    }

    .country-opt-left {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .country-opt-flag {
      font-size: 15px;
      line-height: 1;
    }

    .country-opt-name {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .country-opt-dial {
      font-size: 12px;
      color: var(--ink-soft);
      font-weight: 600;
      margin-left: 8px;
      flex-shrink: 0;
    }

    /* REFERRAL INCENTIVE SECTION */
    .referral-box {
      margin-top: 24px;
      padding: 22px 20px;
      background: #FDFBF7;
      border: 1.5px solid #E6D9C8;
      border-radius: 18px;
      text-align: left;
      position: relative;
      box-shadow: 0 8px 24px -8px rgba(138, 74, 42, 0.12);
    }

    .referral-badge-strip {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .referral-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 800;
      color: #8A4A2A;
      background: #F5E5D8;
      border: 1px solid rgba(138, 74, 42, 0.2);
      padding: 4px 10px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .referral-headline {
      font-size: 18px;
      font-weight: 800;
      color: var(--ink);
      margin: 0 0 6px;
      line-height: 1.3;
    }

    .referral-subtitle {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.5;
      margin: 0 0 18px;
    }

    .referral-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 16px;
    }

    .referral-item {
      background: var(--white);
      border: 1.5px solid var(--sand);
      border-radius: 14px;
      padding: 14px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .referral-item:hover {
      border-color: #D3C7B5;
    }

    .referral-item-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .referral-item-num {
      font-size: 12px;
      font-weight: 800;
      color: var(--rust);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .btn-remove-ref {
      background: none;
      border: none;
      color: #999;
      font-size: 12px;
      cursor: pointer;
      padding: 2px 6px;
      border-radius: 4px;
      transition: color 0.15s ease;
    }

    .btn-remove-ref:hover {
      color: #DC2626;
    }

    .referral-item-fields {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .ref-field input {
      width: 100%;
      padding: 10px 12px;
      font-size: 13.5px;
      border: 1.5px solid var(--sand);
      border-radius: 10px;
      background: var(--paper);
      color: var(--ink);
      font-family: inherit;
      box-sizing: border-box;
      transition: all 0.15s ease;
    }

    .ref-field input:focus {
      outline: none;
      border-color: var(--rust);
      background: var(--white);
      box-shadow: 0 0 0 2.5px var(--rust-wash);
    }

    .ref-field .phone-input-wrap {
      border-radius: 10px;
    }

    .ref-field .phone-input-wrap .country-code-select {
      font-size: 12px;
      width: 80px;
    }

    .ref-field .phone-input-wrap input {
      padding: 10px 12px;
      font-size: 13.5px;
    }

    .referral-add-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn-add-ref {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #F4EFE6;
      border: 1px dashed #C8B9A6;
      color: var(--ink);
      font-size: 12.5px;
      font-weight: 700;
      padding: 8px 14px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.18s ease;
    }

    .btn-add-ref:hover {
      background: #EAE1D3;
      border-color: var(--rust);
      color: var(--rust);
    }

    .ref-counter {
      font-size: 12px;
      color: var(--ink-soft);
      font-weight: 600;
    }

    .referral-cta-wrap {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .ref-submit-btn {
      width: 100%;
      padding: 12px 18px;
      font-size: 14px;
      font-weight: 800;
      border-radius: 999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      white-space: nowrap;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ref-skip-btn {
      background: none;
      border: none;
      color: var(--ink-soft);
      font-size: 12.5px;
      text-decoration: underline;
      cursor: pointer;
      padding: 6px;
      text-align: center;
    }

    .ref-skip-btn:hover {
      color: var(--ink);
    }

    /* Referral Results */
    .referral-results {
      padding: 6px 0;
    }

    .ref-results-header {
      text-align: center;
      margin-bottom: 16px;
    }

    .ref-results-icon {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--forest);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      margin: 0 auto 10px;
      box-shadow: 0 8px 20px -6px rgba(47, 122, 79, 0.4);
    }

    .ref-results-header h4 {
      font-size: 17px;
      margin: 0 0 4px;
      color: var(--ink);
    }

    .ref-results-header p {
      font-size: 12.5px;
      color: var(--ink-soft);
      margin: 0;
      line-height: 1.4;
    }

    .ref-results-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 16px;
    }

    .ref-result-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 12.5px;
      background: #fff;
      border: 1px solid var(--sand);
      gap: 10px;
    }

    .ref-result-item.eligible {
      border-left: 4px solid var(--forest);
    }

    .ref-result-item.ineligible {
      border-left: 4px solid #F59E0B;
      background: #FFFDF8;
    }

    .ref-result-info strong {
      display: block;
      color: var(--ink);
      font-size: 13px;
    }

    .ref-result-info span {
      color: var(--ink-soft);
      font-size: 11.5px;
    }

    .ref-result-badge {
      font-size: 11px;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .ref-result-badge.badge-success {
      background: #DCFCE7;
      color: #166534;
    }

    .ref-result-badge.badge-warning {
      background: #FEF3C7;
      color: #92400E;
    }

    .ref-share-links {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--sand);
      text-align: center;
    }

    .ref-share-hint {
      font-size: 12px;
      color: var(--ink-soft);
      margin-bottom: 8px;
    }

    .btn-whatsapp-share {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: #25D366;
      color: #fff;
      font-weight: 700;
      font-size: 13.5px;
      padding: 10px 18px;
      border-radius: 999px;
      text-decoration: none;
      transition: background 0.15s ease;
      width: 100%;
    }

    .btn-whatsapp-share:hover {
      background: #20BA5C;
    }

    /* FOOTER */
    footer {
      border-top: 1px solid var(--sand);
      padding: 44px 0 32px;
      color: var(--ink-soft);
      font-size: 12.5px;
      background: var(--paper);
    }

    .flogo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'Inter Tight', sans-serif;
      font-weight: 800;
      font-size: 15px;
      color: var(--ink);
    }

    /* Contact Floating Drawer */
    .contact-us-float {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 50;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background-color: #25D366;
      color: #ffffff;
      font-weight: 700;
      font-size: 14px;
      padding: 12px 20px;
      border-radius: 9999px;
      box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
      border: none;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      text-decoration: none;
    }

    .contact-us-float:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px -5px rgba(37, 211, 102, 0.5);
      color: #ffffff;
    }

    .contact-drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(4px);
      z-index: 60;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .contact-drawer-overlay.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    .contact-drawer {
      position: fixed;
      bottom: 0;
      right: 24px;
      width: 100%;
      max-width: 380px;
      background: #ffffff;
      border-radius: 24px;
      margin-bottom: 80px;
      padding: 24px;
      z-index: 70;
      transform: translateY(20px) scale(0.95);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      color: #0f172a;
      text-align: left;
    }

    @media (max-width: 640px) {
      .contact-drawer {
        right: 0;
        margin-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
      }
    }

    .contact-drawer.is-open {
      transform: translateY(0) scale(1);
      opacity: 1;
      pointer-events: auto;
    }

    .contact-drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }

    .contact-drawer-title {
      font-family: 'Inter Tight', sans-serif;
      font-weight: 800;
      font-size: 20px;
      color: #0f172a;
      margin: 0;
    }

    .contact-drawer-close {
      background: #f1f5f9;
      color: #64748b;
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .contact-drawer-close:hover {
      background: #e2e8f0;
      color: #0f172a;
    }

    .contact-drawer-subtitle {
      font-size: 13px;
      color: #64748b;
      margin-bottom: 20px;
    }

    .contact-drawer-options {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .contact-drawer-option {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 14px;
      border-radius: 14px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .contact-drawer-option:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
      transform: translateY(-2px);
    }

    .contact-drawer-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .contact-drawer-icon.whatsapp {
      background: #dcfce7;
      color: #16a34a;
    }

    .contact-drawer-icon.email {
      background: #fee2e2;
      color: #dc2626;
    }

    .contact-drawer-option-text {
      display: flex;
      flex-direction: column;
    }

    .contact-drawer-option-label {
      font-weight: 700;
      font-size: 14px;
      color: #0f172a;
    }

    .contact-drawer-option-detail {
      font-size: 12px;
      color: #64748b;
    }

    /* Reveal animations */
    .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: 0.6s ease;
    }

    .reveal.in {
      opacity: 1;
      transform: none;
    }

    @media(prefers-reduced-motion: reduce) {
      .reveal {
        opacity: 1;
        transform: none;
      }
    }

    /* Modern Inline Error Banners */
    .ref-error-banner,
    .form-error-banner {
      background: #fef2f2;
      border: 1.5px solid #fecaca;
      color: #991b1b;
      padding: 12px 16px;
      border-radius: 12px;
      margin-bottom: 16px;
      font-size: 13.5px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
      animation: fadeIn 0.25s ease-out;
    }

    .ref-error-banner i,
    .form-error-banner i {
      color: #dc2626;
      font-size: 16px;
      flex-shrink: 0;
    }

    .ref-error-close,
    .form-error-close {
      margin-left: auto;
      background: none;
      border: none;
      color: #991b1b;
      cursor: pointer;
      padding: 0 6px;
      font-size: 18px;
      line-height: 1;
      opacity: 0.7;
      transition: opacity 0.15s ease;
    }

    .ref-error-close:hover,
    .form-error-close:hover {
      opacity: 1;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

/* ==========================================
   INTERACTIVE MODE SWITCHER / TAB TOGGLE UX
   ========================================== */
.session-mode-tabs {
  display: flex;
  background: var(--paper-dim);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 22px;
  border: 1px solid var(--sand);
  gap: 4px;
}

.session-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.session-tab-btn i {
  font-size: 13px;
  flex-shrink: 0;
}

.session-tab-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.session-tab-btn.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(21, 22, 43, 0.08);
}

.session-tab-btn .tab-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--rust-wash);
  color: var(--rust);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.session-tab-btn.active .tab-badge {
  background: var(--rust);
  color: #fff;
}

/* Quick Mode Switch Prompt */
.quick-mode-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper-dim);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 11px 15px;
  margin: 18px 0 22px 0;
  font-size: 12.5px;
}

.quick-mode-prompt .prompt-text {
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.4;
}

.quick-mode-prompt .prompt-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--rust);
  font-weight: 800;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.quick-mode-prompt .prompt-link-btn:hover {
  color: #723b20;
}

/* Direct Referrer Section */
.referrer-identity-card {
  background: var(--paper-dim);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.referrer-identity-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.referrer-identity-title i {
  color: var(--rust);
}

/* Fade transitions for tab switches */
.tab-content {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
  display: block;
}

/* Hero Referral Highlight Banner */
.hero-referral-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(138, 74, 42, 0.07) 0%, rgba(201, 123, 74, 0.12) 100%);
  border: 1.5px dashed rgba(138, 74, 42, 0.35);
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(138, 74, 42, 0.04);
  transition: all 0.2s ease;
}

.hero-referral-banner:hover {
  border-color: rgba(138, 74, 42, 0.55);
  background: linear-gradient(135deg, rgba(138, 74, 42, 0.1) 0%, rgba(201, 123, 74, 0.15) 100%);
}

.hero-banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.hero-banner-header i.banner-icon {
  font-size: 17px;
  color: var(--rust);
  flex-shrink: 0;
}

.banner-sub {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

.hero-referral-banner .banner-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rust);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(138, 74, 42, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}

.hero-referral-banner .banner-action-btn:hover {
  background: #723b20;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(138, 74, 42, 0.35);
}

.hero-referral-banner .banner-action-btn:active {
  transform: scale(0.97);
}

/* ==========================================
   RESPONSIVE MOBILE ADJUSTMENTS (< 768px & < 520px)
   ========================================== */
@media (max-width: 640px) {
  .hero-referral-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .hero-banner-header {
    font-size: 13.5px;
  }

  .banner-sub {
    font-size: 12px;
  }

  .hero-referral-banner .banner-action-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 13px;
  }

  .session-mode-tabs {
    margin-bottom: 18px;
  }

  .session-tab-btn {
    padding: 9px 8px;
    font-size: 12px;
    gap: 5px;
  }

  .session-tab-btn i {
    font-size: 12px;
  }

  .session-tab-btn .tab-badge {
    font-size: 9.5px;
    padding: 2px 6px;
  }

  .quick-mode-prompt {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 14px;
    margin: 16px 0 20px 0;
  }

  .quick-mode-prompt .prompt-link-btn {
    font-size: 13px;
  }

  .ref-submit-btn {
    padding: 12px 14px;
    font-size: 13px;
    letter-spacing: -0.01em;
  }
}
