    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red:     #C8201E;
      --red-2:   #A81A18;
      --red-lt:  #E85C5A;
      --navy:    #1B2A5E;
      --navy-2:  #0E1A3A;
      --white:   #FFFFFF;
      --text:    #0D1836;
      --muted:   #8491B2;
      --border:  #DDE4F0;
      --bg-card: rgba(255,255,255,0.84);
    }

    /* ── PAGE ── */
    html, body {
      height: 100%;
      font-family: 'DM Sans', sans-serif;
    }

    body {
      min-height: 100vh;
      background: var(--navy-2);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
      position: relative;
      overflow: hidden;
    }

    /* ── ANIMATED CALL BACKGROUND ── */
    .bg-canvas {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    /* Floating call cards */
    .ck {
      position: absolute;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(200,32,30,0.18);
      border-radius: 8px;
      padding: 10px 14px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      animation: float-up linear infinite;
      backdrop-filter: blur(2px);
    }
    .ck-id   { font-size: 9px; font-family: monospace; color: var(--red-lt); opacity: 0.7; letter-spacing: 1px; }
    .ck-bar  { height: 5px; border-radius: 3px; }
    .ck-bar2 { height: 4px; width: 55%; border-radius: 3px; background: rgba(200,32,30,0.1); }
    .ck-dot  {
      width: 7px; height: 7px; border-radius: 50%;
      position: absolute; top: 10px; right: 10px;
    }
    /* Waveform lines — unique to calling */
    .ck-wave {
      display: flex; align-items: center; gap: 2px; height: 14px;
    }
    .ck-wave span {
      display: inline-block; width: 2px; border-radius: 2px;
      background: rgba(200,32,30,0.35);
    }

    @keyframes float-up {
      0%   { transform: translateY(110vh) rotate(-2deg); opacity: 0; }
      5%   { opacity: 1; }
      90%  { opacity: 0.6; }
      100% { transform: translateY(-20vh) rotate(3deg); opacity: 0; }
    }

    /* Horizontal scan lines */
    .scan-line {
      position: absolute;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(200,32,30,0.18), transparent);
      left: 0; right: 0;
      animation: scan linear infinite;
    }
    @keyframes scan {
      0%   { top: 110%; opacity: 0; }
      5%   { opacity: 1; }
      95%  { opacity: 0.5; }
      100% { top: -10%; opacity: 0; }
    }

    /* Radial glow behind card */
    .bg-glow {
      position: fixed;
      width: 700px; height: 700px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(200,32,30,0.1) 0%, transparent 70%);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
      z-index: 0;
    }

    /* ── TOP BRAND BAR ── */
    .top-bar {
      position: relative;
      z-index: 10;
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 36px;
    }

    /* Headset circle icon — mirrors the MC logo mark */
    .headset-wrap {
      position: relative;
      width: 60px; height: 60px;
      flex-shrink: 0;
    }
    .headset-ring {
      position: absolute; inset: 0;
      border-radius: 50%;
      border: 1.5px solid rgba(200,32,30,0.5);
    }
    .headset-circle {
      position: absolute; inset: 4px;
      background: var(--red);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 18px rgba(200,32,30,0.4);
    }
    .headset-circle svg { width: 30px; height: 25px; color: white; }

    .brand-text {
      display: flex; flex-direction: column; line-height: 1;
    }
    .brand-text .t-maya {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700; font-size: 27px;
      letter-spacing: 3px; text-transform: uppercase;
      color: var(--red-lt);
    }
    .brand-text .t-connect {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700; font-size: 27px;
      letter-spacing: 3px; text-transform: uppercase;
      color: var(--white);
    }
    .brand-text .t-sub {
      font-size: 12px; font-weight: 500;
      letter-spacing: 2.5px; text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      margin-top: 4px;
    }

    /* ── LIVE BADGE ── */
    .live-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(200,32,30,0.12);
      border: 1px solid rgba(200,32,30,0.3);
      border-radius: 20px; padding: 3px 10px;
      font-size: 13px; font-weight: 600;
      letter-spacing: 1.5px; text-transform: uppercase;
      color: var(--red-lt);
      position: relative; z-index: 10;
      margin-bottom: 18px;
    }
    .live-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--red-lt);
      animation: blink 1.4s ease-in-out infinite;
    }
    @keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.2;} }

    /* ── LOGIN CARD ── */
    .card {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: 440px;
      background: var(--bg-card);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,0.6);
      box-shadow:
        0 2px 0 rgba(255,255,255,0.8) inset,
        0 24px 64px rgba(8,12,28,0.5),
        0 4px 16px rgba(200,32,30,0.1);
      overflow: hidden;
    }

    /* Top accent strip */
    .card-accent {
      height: 4px;
      background: linear-gradient(90deg, var(--navy) 0%, var(--red) 50%, var(--red-lt) 100%);
    }

    .card-body { padding: 36px 40px 40px; }

    /* ── Agent status tally — signature element (replaces ticket tally) ── */
    .status-row {
      display: flex;
      gap: 10px;
      margin-bottom: 28px;
    }
    .status-btn {
      flex: 1;
      border-radius: 10px;
      padding: 11px 10px;
      display: flex; flex-direction: column;
      align-items: center; gap: 5px;
      cursor: pointer;
      border: 1.5px solid var(--border);
      background: #F8F9FC;
      transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
      position: relative; overflow: hidden;
    }
    .status-btn::before {
      content: ''; position: absolute;
      top: 0; left: 0; right: 0; height: 2px;
    }
    .status-btn.s-available::before { background: #22C55E; }
    .status-btn.s-busy::before      { background: var(--red); }
    .status-btn.s-away::before      { background: #F59E0B; }

    .status-btn.selected.s-available { border-color: #22C55E; background: #F0FBF5; box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
    .status-btn.selected.s-busy      { border-color: var(--red); background: #FFF3F3; box-shadow: 0 0 0 3px rgba(200,32,30,0.1); }
    .status-btn.selected.s-away      { border-color: #F59E0B; background: #FFFBF0; box-shadow: 0 0 0 3px rgba(245,158,11,0.1); }
    .status-btn:not(.selected):hover { border-color: #b0b8d0; background: #F4F6FB; }

    .sdot { width: 8px; height: 8px; border-radius: 50%; }
    .slbl { font-size: 11px; font-weight: 600; color: var(--text); }

    /* ── Form header ── */
    .form-head { margin-bottom: 24px; }
    .form-head h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 24px; font-weight: 700;
      color: var(--text); margin-bottom: 4px;
    }
    .form-head p { font-size: 13px; color: var(--muted); }

    /* ── Fields ── */
    .field { margin-bottom: 16px; }
    .field label {
      display: block;
      font-size: 12px; font-weight: 600;
      color: var(--text);
      margin-bottom: 6px; letter-spacing: 0.2px;
    }
    .field-inner { position: relative; }
    .field-inner svg.ico {
      position: absolute; left: 13px; top: 50%;
      transform: translateY(-50%);
      width: 15px; height: 15px;
      color: var(--muted); pointer-events: none;
      transition: color 0.2s;
    }
    .field-inner:focus-within svg.ico { color: var(--red); }
    .field-inner input {
      width: 100%;
      padding: 11px 13px 11px 38px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-size: 14px;
      font-family: 'DM Sans', sans-serif;
      color: var(--text);
      background: white;
      outline: none;
      transition: border-color 0.18s, box-shadow 0.18s;
    }
    .field-inner input::placeholder { color: #BCC6DA; font-size: 13px; }
    .field-inner input:focus {
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(200,32,30,0.1);
    }
    .eye-btn {
      position: absolute; right: 12px; top: 50%;
      transform: translateY(-50%);
      background: none; border: none;
      cursor: pointer; color: var(--muted);
      display: flex; padding: 2px; border-radius: 4px;
      transition: color 0.2s;
    }
    .eye-btn:hover { color: var(--red); }

    /* ── Meta row ── */
    .meta-row {
      display: flex; align-items: center;
      justify-content: space-between;
      margin: 6px 0 22px;
    }
    .chk-label {
      display: flex; align-items: center;
      gap: 7px; font-size: 13px;
      color: var(--muted); cursor: pointer; user-select: none;
    }
    .chk-label input[type="checkbox"] {
      appearance: none; width: 15px; height: 15px;
      border: 1.5px solid var(--border);
      border-radius: 4px; background: white;
      cursor: pointer; flex-shrink: 0; position: relative;
      transition: background 0.15s, border-color 0.15s;
    }
    .chk-label input:checked { background: var(--red); border-color: var(--red); }
    .chk-label input:checked::after {
      content: ''; position: absolute;
      left: 3px; top: 1px; width: 5px; height: 8px;
      border: 1.5px solid white; border-top: none; border-left: none;
      transform: rotate(45deg);
    }
    .forgot {
      font-size: 13px; font-weight: 500;
      color: var(--red); text-decoration: none;
      transition: color 0.15s;
    }
    .forgot:hover { color: var(--navy); }

    /* ── Submit button ── */
    .btn-submit {
      width: 100%; padding: 13px;
      background: var(--red);
      color: var(--white); border: none;
      border-radius: 10px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 15px; font-weight: 600;
      letter-spacing: 0.3px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 9px;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 4px 18px rgba(200,32,30,0.32);
      position: relative; overflow: hidden;
    }
    /* Sheen sweep */
    .btn-submit::before {
      content: ''; position: absolute;
      top: 0; left: -100%; width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
      transform: skewX(-20deg);
      transition: left 0.5s ease;
    }
    .btn-submit:hover::before { left: 160%; }
    .btn-submit svg { width: 16px; height: 16px; flex-shrink: 0; position: relative; z-index: 1; }
    .btn-submit span { position: relative; z-index: 1; }
    .btn-submit:hover {
      background: var(--red-2);
      transform: translateY(-1px);
      box-shadow: 0 6px 24px rgba(200,32,30,0.4);
    }
    .btn-submit:active { transform: translateY(0); }

    /* ── Divider + SSO ── */
    .or-row {
      display: flex; align-items: center;
      gap: 12px; margin: 20px 0;
      font-size: 12px; color: var(--muted);
    }
    .or-row::before, .or-row::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }

    .btn-sso {
      width: 100%; padding: 11px;
      background: white; color: var(--text);
      border: 1.5px solid var(--border); border-radius: 10px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px; font-weight: 600;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 9px;
      transition: border-color 0.2s, background 0.2s;
    }
    .btn-sso:hover { border-color: var(--red); background: #FFF8F8; }
    .sso-chip {
      background: var(--navy); color: white;
      font-size: 10px; font-weight: 700; letter-spacing: 1px;
      padding: 2px 7px; border-radius: 4px;
      font-family: 'Space Grotesk', sans-serif;
    }

    /* ── Footer ── */
    .card-footer-txt {
      text-align: center; margin-top: 22px;
      font-size: 13px; color: rgba(255,255,255,0.45);
      position: relative; z-index: 10;
    }
    .card-footer-txt a {
      color: var(--red-lt); font-weight: 600; text-decoration: none;
    }
    .card-footer-txt a:hover { color: var(--white); }

    .bottom-note {
      position: relative; z-index: 10;
      margin-top: 24px;
      font-size: 11px; color: rgba(255,255,255,0.18);
      text-align: center;
    }

    /* ── Responsive ── */
    @media (max-width: 520px) {
      .card-body { padding: 28px 24px 32px; }
    }