    :root {
      --ink: #0d0d0f;
      --ink-muted: #6b6b78;
      --ink-faint: #a8a8b3;
      --surface: #f7f7f8;
      --white: #ffffff;
      --accent: #2a5cff;
      --accent-dark: #1a3ecc;
      --accent-glow: rgba(42, 92, 255, 0.18);
      --border: rgba(0,0,0,0.08);
      --border-focus: rgba(42, 92, 255, 0.5);
      --card-shadow: 0 2px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.07);
      --radius: 14px;
      --radius-sm: 8px;
    }

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

    html { font-size: 16px; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--surface);
      color: var(--ink);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── LAYOUT ── */
    .login-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5rem 1.25rem 3rem;
      position: relative;
      overflow: hidden;
    }

    /* decorative blobs */
    .login-wrapper::before,
    .login-wrapper::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      pointer-events: none;
      opacity: 0.55;
    }
    .login-wrapper::before {
      width: 520px; height: 520px;
      top: -140px; left: -160px;
      background: radial-gradient(circle, #c7d7ff 0%, transparent 70%);
    }
    .login-wrapper::after {
      width: 380px; height: 380px;
      bottom: -100px; right: -80px;
      background: radial-gradient(circle, #d4e0ff 0%, transparent 70%);
    }

    /* ── CARD ── */
    .login-card {
      position: relative;
      z-index: 1;
      background: var(--white);
      border-radius: 22px;
      box-shadow: var(--card-shadow);
      border: 1px solid var(--border);
      width: 100%;
      max-width: 440px;
      padding: 3rem 2.75rem 2.5rem;
      animation: cardIn 0.55s cubic-bezier(0.22,1,0.36,1) both;
    }

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

    /* ── LOGO / WORDMARK ── */
    .brand {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 2.25rem;
    }
    .brand-icon {
      width: 38px; height: 38px;
      background: var(--accent);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .brand-icon svg { width: 20px; height: 20px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; }
    .brand-name {
      font-family: 'DM Serif Display', serif;
      font-size: 1.35rem;
      letter-spacing: -0.01em;
      color: var(--ink);
    }

    /* ── HEADING ── */
    .login-title {
      font-family: 'DM Serif Display', serif;
      font-size: 1.9rem;
      line-height: 1.18;
      letter-spacing: -0.025em;
      color: var(--ink);
      margin-bottom: 0.45rem;
    }
    .login-sub {
      font-size: 0.875rem;
      color: var(--ink-muted);
      margin-bottom: 2rem;
      font-weight: 300;
    }

    /* ── FORM ── */
    .field-group {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .field-label {
      display: block;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 0.4rem;
    }

    .caicus-login-input {
      width: 100%;
      padding: 0.8rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.925rem;
      color: var(--ink);
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      outline: none;
      transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
      -webkit-appearance: none;
    }
    .caicus-login-input::placeholder {
      color: var(--ink-faint);
    }
    .caicus-login-input:focus {
      border-color: var(--accent);
      background: var(--white);
      box-shadow: 0 0 0 4px var(--accent-glow);
    }

    /* ── SUBMIT ── */
    .caicus-login-submit {
      width: 100%;
      padding: 0.875rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--white);
      background: var(--accent);
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
      position: relative;
      overflow: hidden;
    }
    .caicus-login-submit:hover {
      background: var(--accent-dark);
      box-shadow: 0 6px 20px rgba(42, 92, 255, 0.3);
    }
    .caicus-login-submit:active { transform: scale(0.985); }

    /* ── FOOTER LINKS ── */
    .login-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.65rem;
      margin-top: 1.5rem;
    }

    .forgotpassword_btn,
    .caicus-signup-anchor {
      background: none;
      border: none;
      padding: 0;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      cursor: pointer;
      text-decoration: none;
      transition: color 0.15s;
    }
    .forgotpassword_btn {
      color: var(--ink-muted);
    }
    .forgotpassword_btn span {
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .forgotpassword_btn:hover { color: var(--accent); }

    .caicus-signup-anchor {
      color: var(--accent);
      font-weight: 500;
    }
    .caicus-signup-anchor:hover { color: var(--accent-dark); }

    .divider {
      width: 100%;
      height: 1px;
      background: var(--border);
      margin: 1.5rem 0 0;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 480px) {
      .login-card {
        padding: 2.25rem 1.5rem 2rem;
        border-radius: 18px;
      }
      .login-title { font-size: 1.6rem; }
    }