  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green-dark: #1a1f7a;
    --green-mid: #272ec6;
    --green-accent: #5b62e8;
    --green-soft: #e8e9fb;
    --green-border: #272ec6;
    --gold: #ca8a04;
    --gold-soft: #fef9c3;
    --red: #dc2626;
    --red-soft: #fee2e2;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-page: #eef0fb;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-focus: #272ec6;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
  }

  html, body {
    min-height: 100vh; 
    background: var(--bg-page);
    color: var(--text-primary);
  }

  /* ---- Layout ---- */
  .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  header {
    background: #1a1f7a;
    padding: 0.65rem 2rem;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .header-logo {
    height: 52px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }

  .header-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
  }

  .header-name {
    display: flex;
    flex-direction: column;
  }

  .header-name strong {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
  }

  .header-name span {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.03em;
  }

  .header-badge {
    margin-left: auto;
    background: #92400e;
    color: #fde68a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px 4px 9px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: badge-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
  }

  .header-badge.is-open {
    background: #065f46;
    color: #bbf7d0;
  }

  @keyframes badge-pop {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  .badge-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fde68a;
    position: relative;
    flex-shrink: 0;
  }

  .header-badge.is-open .badge-pulse {
    background: #bbf7d0;
  }

  .badge-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(253,230,138,0.35);
    animation: pulse-ring 1.4s ease-out infinite;
  }

  .header-badge.is-open .badge-pulse::after {
    background: rgba(187,247,208,0.35);
  }

  @keyframes pulse-ring {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2);   opacity: 0; }
  }

  /* ---- Main grid ---- */
  main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    width: 100%;
    margin: 2.5rem auto;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07), 0 0 0 1px var(--border);
  }

  /* ---- Left panel ---- */
  .left {
    background: var(--green-dark);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
  }

  .left::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(91,98,232,0.1);
    pointer-events: none;
  }

  .left::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(91,98,232,0.07);
    pointer-events: none;
  }

  .left-title { 
    font-size: 26px;
    color: #ffffff;
    line-height: 1.2;
  }

  .left-title span {
    color: var(--green-accent);
  }

  .left-session {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: -1rem;
  }

  .info-block {
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
  }

  .info-block-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a8acf5;
    margin-bottom: 0.6rem;
  }

  .info-block p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
  }

  .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.6rem;
  }

  .pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(91,98,232,0.18);
    color: #a8acf5;
    border: 0.5px solid rgba(91,98,232,0.35);
  }

  .pill.gold {
    background: rgba(202,138,4,0.15);
    color: #fbbf24;
    border-color: rgba(202,138,4,0.3);
  }

  .req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .req-list li {
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
  }

  .req-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-accent);
    margin-top: 5px;
    flex-shrink: 0;
  }

  /* ---- Right panel ---- */
  .right {
    background: var(--bg-card);
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
  }

  .form-heading { 
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
  }

  .form-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2rem;
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1rem;
  }

  label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
  }

  input[type="email"],
  input[type="password"],
  input[type="text"] {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 14px; 
    color: var(--text-primary);
    background: #f8fafc;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  }

  input:focus {
    border-color: var(--border-focus);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39,46,198,0.12);
  }

  .forgot {
    font-size: 12px;
    color: var(--green-border);
    text-decoration: none;
    text-align: right;
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
  }

  .forgot:hover { text-decoration: underline; }

  .btn-login {
    width: 100%;
    padding: 11px;
    background: var(--green-mid);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600; 
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.02em;
  }

  .btn-login:hover { background: var(--green-dark); }
  .btn-login:active { transform: scale(0.99); }

  .divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.25rem 0;
  }

  .divider-line { flex: 1; height: 1px; background: var(--border); }
  .divider-text { font-size: 11px; color: var(--text-muted); white-space: nowrap; }



  .status-msg {
    margin-top: 0.75rem;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: none;
  }

  .status-msg.error { background: var(--red-soft); color: var(--red); display: block; }
  .status-msg.success { background: var(--green-soft); color: var(--green-mid); display: block; }

  .footer-note {
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
  }

  /* ---- Password Recovery Modal ---- */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 100;
    align-items: center;
    justify-content: center;
  }

  .modal-overlay.open { display: flex; }

  .modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    margin: 1rem;
  }

  .modal-box h2 { 
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
  }

  .modal-box p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
  }

  .modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
  }

  .btn-modal {
    flex: 1;
    padding: 9px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600; 
    cursor: pointer;
    border: none;
  }

  .btn-modal.primary { background: var(--green-mid); color: #fff; }
  .btn-modal.secondary { background: #f1f5f9; color: var(--text-secondary); }

  /* ---- Open announcement banner ---- */
  .open-banner {
    background: linear-gradient(90deg, #78350f 0%, #92400e 60%, #b45309 100%);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: slide-down 0.5s ease both;
    overflow: hidden;
    position: relative;
  }

  .open-banner.is-open {
    background: linear-gradient(90deg, #065f46 0%, #047857 60%, #059669 100%);
  }

  .open-banner::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0; bottom: 0;
    width: 60%;
    background: rgba(255,255,255,0.06);
    transform: skewX(-20deg);
    animation: shimmer 2.8s ease-in-out 0.6s infinite;
  }

  @keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 160%; }
  }

  @keyframes slide-down {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
  }

  .open-banner strong { font-weight: 700; color: #fde68a; }
  .open-banner.is-open strong { color: #d1fae5; }
  .banner-icon { font-size: 15px; }

  /* ---- "Start application" button — open state ---- */
  .btn-start {
    width: 100%;
    padding: 11px;
    background: var(--green-accent);
    color: var(--green-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700; 
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.1s;
    animation: btn-glow 2s ease-in-out infinite alternate;
  }

  .btn-start:hover { background: #1a1f7a; color: #fff; transform: translateY(-1px); }
  .btn-start:active { transform: scale(0.99); }

  @keyframes btn-glow {
    from { box-shadow: 0 0 0 0 rgba(91,98,232,0.35); }
    to   { box-shadow: 0 0 0 7px rgba(91,98,232,0); }
  }

  /* ---- Left panel "open" status chip ---- */
  .status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(202,138,4,0.15);
    border: 0.5px solid rgba(202,138,4,0.35);
    border-radius: 999px;
    padding: 4px 11px;
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
  }

  .status-chip.is-open {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.35);
    color: #34d399;
  }

  .chip-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    animation: pulse-ring 1.4s ease-out infinite;
    flex-shrink: 0;
  }

  .status-chip.is-open .chip-dot {
    background: #34d399;
  }

  /* ---- Card entrance animations ---- */
  main { animation: fade-up 0.4s ease both 0.1s; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ---- Footer ---- */
  footer {
    text-align: center;
    padding: 1rem;
    font-size: 11px;
    color: var(--text-muted);
  }

  /* ==============================
     MOBILE-FIRST RESPONSIVE STYLES
     ============================== */

  /* Tablet: 661px–960px */
  @media (max-width: 960px) {
    main {
      margin: 1.5rem auto;
      max-width: 680px;
    }
  }

  /* Mobile: ≤660px */
  @media (max-width: 660px) {

    /* Header: compact, logo only + badge */
    header {
      padding: 0.6rem 1rem;
      gap: 10px;
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .header-logo { height: 38px; }

    .header-divider { display: none; }

    .header-name {
      display: none; /* hidden on small screens — logo carries the brand */
    }

    .header-badge {
      font-size: 10px;
      padding: 3px 10px 3px 8px;
      gap: 5px;
    }

    /* Banner: smaller, wrap-friendly */
    .open-banner {
      font-size: 11.5px;
      padding: 0.5rem 0.9rem;
      gap: 6px;
      text-align: left;
      justify-content: flex-start;
    }

    .banner-icon { flex-shrink: 0; }

    /* Main card: full-bleed, no margin, no radius on sides */
    main {
      grid-template-columns: 1fr;
      margin: 0;
      border-radius: 0;
      box-shadow: none;
      /* Show login form FIRST on mobile, info panel below */
      display: flex;
      flex-direction: column-reverse;
    }

    /* Left info panel: compact, collapsible on mobile */
    .left {
      padding: 1.25rem 1.1rem;
      gap: 0.9rem;
      border-radius: 0;
    }

    .left-title { font-size: 20px; }
    .left-session { font-size: 11px; margin-top: -0.5rem; }

    /* Info blocks: tighter on mobile */
    .info-block { padding: 0.75rem 0.9rem; }

    /* Collapsible info panel toggle */
    .info-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      padding: 0.85rem 1.1rem;
      background: rgba(255,255,255,0.08);
      border-radius: var(--radius-sm);
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }

    .info-toggle-label {
      font-size: 12px;
      font-weight: 600;
      color: #a8acf5;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .info-toggle-icon {
      font-size: 14px;
      color: #a8acf5;
      transition: transform 0.25s ease;
    }

    .info-toggle.open .info-toggle-icon {
      transform: rotate(180deg);
    }

    .info-collapsible {
      display: none;
      flex-direction: column;
      gap: 0.9rem;
      padding-top: 0.9rem;
    }

    .info-collapsible.open { display: flex; }

    /* Right panel: comfortable mobile padding */
    .right {
      padding: 1.6rem 1.1rem 1.25rem;
      border-radius: 0;
    }

    .form-heading { font-size: 20px; }
    .form-sub { font-size: 12px; margin-bottom: 1.25rem; }

    /* Bigger touch targets for inputs */
    input[type="email"],
    input[type="password"],
    input[type="text"] {
      padding: 13px 14px;
      font-size: 16px; /* prevents iOS auto-zoom */
      border-radius: var(--radius-md);
    }

    /* Larger buttons for thumbs */
    .btn-login,
    .btn-start {
      padding: 14px;
      font-size: 15px;
      border-radius: var(--radius-md);
      -webkit-tap-highlight-color: transparent;
    }

    .forgot {
      font-size: 13px;
      padding: 4px 0;
      margin-bottom: 1.1rem;
    }

    .footer-note {
      font-size: 11px;
      padding-top: 1rem;
    }

    /* Modal: full-width on small screens */
    .modal-box {
      margin: 0.75rem;
      padding: 1.5rem 1.25rem;
      border-radius: var(--radius-md);
    }

    .modal-actions { flex-direction: column; }
    .btn-modal { padding: 12px; font-size: 14px; }

    /* Footer: smaller */
    footer { font-size: 10px; padding: 0.75rem; }
  }

  /* ---- Post UTME Coming Soon ---- */
  .post-utme-block {
    border-color: rgba(251,191,36,0.25) !important;
    background: rgba(202,138,4,0.07) !important;
    position: relative;
    overflow: hidden;
  }

  .post-utme-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 2px 0 0 2px;
  }

  .post-utme-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(251,191,36,0.18);
    color: #fbbf24;
    border: 0.5px solid rgba(251,191,36,0.35);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: soon-pulse 2.2s ease-in-out infinite alternate;
  }

  @keyframes soon-pulse {
    from { opacity: 0.75; }
    to   { opacity: 1; box-shadow: 0 0 8px rgba(251,191,36,0.35); }
  }

  /* Right panel Post UTME notice */
  .post-utme-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 3px solid #f59e0b;
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    animation: fade-up 0.5s ease both 0.3s;
  }

  .post-utme-notice-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .post-utme-notice-title {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
  }

  .post-utme-notice-text {
    font-size: 11.5px;
    color: #a16207;
    line-height: 1.55;
  }

  /* Mobile adjustments for Post UTME notice */
  @media (max-width: 660px) {
    .post-utme-notice {
      margin-top: 0.85rem;
      padding: 0.7rem 0.8rem;
    }
    .post-utme-notice-title { font-size: 12px; }
    .post-utme-notice-text { font-size: 11px; }
  }

  /* Desktop: always show info content, hide toggle */
  @media (min-width: 661px) {
    .info-toggle { display: none; }
    .info-collapsible { display: flex !important; flex-direction: column; gap: 1.5rem; }
  }
   
.loading {
            display: none;
            text-align: center;
            margin: 20px 0;
        }
        
        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 2s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
         
       
        
        .message {
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
        }
        
        .success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

.toast {
    --bs-toast-zindex: 1090;
    --bs-toast-padding-x: 0.75rem;
    --bs-toast-padding-y: 0.5rem;
    --bs-toast-spacing: 30px;
    --bs-toast-max-width: 350px;
    --bs-toast-font-size: 0.875rem;
    --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);
    --bs-toast-border-width: 0;
    --bs-toast-border-color: var(--bs-border-color-translucent);
    --bs-toast-border-radius: 12px;
    --bs-toast-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.031372549);
    --bs-toast-header-color: var(--bs-secondary-color);
    --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);
    --bs-toast-header-border-color: var(--bs-border-color-translucent);
    width: var(--bs-toast-max-width);
    max-width: 100%;
    font-size: var(--bs-toast-font-size);
    color: var(--bs-toast-color);
    pointer-events: auto;
    background-color: var(--bs-toast-bg);
    background-clip: padding-box;
    border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);
    box-shadow: var(--bs-toast-box-shadow);
    border-radius: var(--bs-toast-border-radius)
}

.toast.showing {
    opacity: 0
}

.toast:not(.show) {
    display: none
}

.toast-container {
    --bs-toast-zindex: 1090;
    position: absolute;
    z-index: var(--bs-toast-zindex);
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none
}

.toast-container>:not(:last-child) {
    margin-bottom: var(--bs-toast-spacing)
}

.toast-header {
    display: flex;
    align-items: center;
    padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);
    color: var(--bs-toast-header-color);
    background-color: var(--bs-toast-header-bg);
    background-clip: padding-box;
    border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);
    border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
    border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))
}

.toast-header .btn-close {
    margin-right: calc(-.5 * var(--bs-toast-padding-x));
    margin-left: var(--bs-toast-padding-x)
}

.toast-body {
    padding: var(--bs-toast-padding-x);
    word-wrap: break-word
}

.toast-onload {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999;
    max-width: 294px;
    width: 100%;
    transition: all .5s
}

.toastr {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    color: #fff
}

.toast-title {
    font-weight: 700
}

.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word
}

.toast-message a,
.toast-message label {
    color: #fff
}

.toast-message a:hover {
    color: var(--bs-body-color);
    text-decoration: none
}

.toast-close-button {
    position: relative;
    right: -.3em;
    top: -.3em;
    float: right;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    line-height: 1
}

.toast-close-button:focus,
.toast-close-button:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .4
}

.rtl .toast-close-button {
    left: -.3em;
    float: left;
    right: .3em
}

button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none
}

.toast-top-center {
    top: 0;
    right: 0;
    width: 100%
}

.toast-bottom-center {
    bottom: 0;
    right: 0;
    width: 100%
}

.toast-top-full-width {
    top: 0;
    right: 0;
    width: 100%
}

.toast-bottom-full-width {
    bottom: 0;
    right: 0;
    width: 100%
}

.toast-top-left {
    top: 12px;
    left: 12px
}

.toast-top-right .toast {
    position: fixed;
    top: 12px;
    right: 12px
}

.toast-bottom-right .toast {
    position: fixed;
    right: 12px;
    bottom: 12px
}

.toast-bottom-left {
    bottom: 12px;
    left: 12px
}

.toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    width: 100% !important
}

.toast-container * {
    box-sizing: border-box
}

.toast-container>div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    border-radius: 12px;
    background-position: 15px center;
    background-repeat: no-repeat;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
    color: #fff;
    opacity: 1
}

.toast-container>div.rtl {
    direction: rtl;
    padding: 15px 50px 15px 15px;
    background-position: right 15px center
}

.toast-container>.toast-info {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important
}

.toast-container>.toast-error {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important
}

.toast-container>.toast-success {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important
}

.toast-container>.toast-warning {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important
}

.toast-container.toast-bottom-center>div,
.toast-container.toast-top-center>div {
    width: 300px;
    margin-left: auto;
    margin-right: auto
}

.toast-container.toast-bottom-full-width>div,
.toast-container.toast-top-full-width>div {
    width: 96%;
    margin-left: auto;
    margin-right: auto
}

.toast-success {
    background-color: #85d446 !important
}

.toast-error {
    background-color: #f25a5a !important
}

.toast-info {
    background-color: #745af2 !important
}

.toast-warning {
    background-color: #f2d15a !important
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000;
    opacity: .4
}

@media all and (min-width:241px) and (max-width:480px) {
    .toast-container>div {
        padding: 8px 8px 8px 50px;
        width: 18em
    }
    .toast-container>div.rtl {
        padding: 8px 50px 8px 8px
    }
    .toast-container .toast-close-button {
        right: -.2em;
        top: -.2em
    }
    .toast-container .rtl .toast-close-button {
        left: -.2em;
        right: .2em
    }
}

@media all and (min-width:481px) and (max-width:768px) {
    .toast-container>div {
        padding: 15px 15px 15px 50px;
        width: 25em
    }
    .toast-container>div.rtl {
        padding: 15px 50px 15px 15px
    }
}

.toast-container .toast {
    max-width: 100%
}

/* ---- Desktop breakpoint (768px+) ---- */
@media (min-width: 768px) {
  body { display: flex; flex-direction: column; align-items: center; }

  header {
    position: static;
    width: 100%;
    max-width: 880px;
    border-radius: 16px 16px 0 0;
    margin-top: 2rem;
    padding: 14px 24px;
  }

  .info-strip {
    width: 100%;
    max-width: 880px;
    padding: 0 24px 14px;
  }

  .collapsible {
    width: 100%;
    max-width: 880px;
    display: none; /* hidden on desktop — shown in left panel instead */
  }

  .desktop-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 880px;
    background: var(--bg-card);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07), 0 0 0 1px var(--border);
  }

  .desktop-left {
    display: flex !important;
    background: var(--green-dark);
    padding: 2rem;
    flex-direction: column;
    gap: 1.25rem;
  }

  .card {
    border-radius: 0;
    padding: 2rem 2.25rem;
    min-height: auto;
  }

  footer { max-width: 880px; width: 100%; }
}