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

    body {
      font-family: 'Inter', sans-serif;
      background: #f0f4ff;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem 1rem;
      position: relative;
      overflow-x: hidden;
      overflow-y: auto;
    }

    /* Soft background blobs */
    body::before {
      content: '';
      position: fixed;
      width: 520px; height: 520px;
      background: radial-gradient(circle, rgba(99,179,237,0.18) 0%, transparent 70%);
      top: -120px; left: -120px;
      border-radius: 50%;
      pointer-events: none;
    }
    body::after {
      content: '';
      position: fixed;
      width: 480px; height: 480px;
      background: radial-gradient(circle, rgba(129,230,217,0.15) 0%, transparent 70%);
      bottom: -100px; right: -100px;
      border-radius: 50%;
      pointer-events: none;
    }

    .login-wrapper {
      width: 100%;
      max-width: 420px;
      position: relative;
      z-index: 1;
    }

    /* Top badge */
    .brand-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 2rem;
      justify-content: center;
    }
    .brand-icon {
      width: 36px; height: 36px;
      background: linear-gradient(135deg, #3b82f6, #06b6d4);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .brand-icon svg { width: 18px; height: 18px; fill: #fff; }
    .brand-name {
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
      letter-spacing: -0.02em;
    }

    /* Card */
    .login-card {
      background: #ffffff;
      border-radius: 20px;
      padding: 2.5rem 2.25rem 2rem;
      box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.06),
        0 24px 48px rgba(59,130,246,0.08);
      border: 1px solid rgba(226,232,240,0.8);
    }

    .login-card h1 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #0f172a;
      letter-spacing: -0.03em;
      margin-bottom: .35rem;
    }
    .login-card .subtitle {
      font-size: .875rem;
      color: #64748b;
      margin-bottom: 1.75rem;
      font-weight: 400;
    }

    /* Labels */
    .form-label {
      font-size: .8125rem;
      font-weight: 600;
      color: #374151;
      margin-bottom: .4rem;
      letter-spacing: 0.01em;
    }

    /* Inputs */
    .form-control {
      width: 100%;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      padding: .65rem .9rem;
      font-size: .9rem;
      color: #0f172a;
      background: #f8fafc;
      transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
      box-shadow: none;
    }
    .form-control::placeholder { color: #94a3b8; }
    .form-control:focus {
      background: #fff;
      border-color: #3b82f6;
      box-shadow: 0 0 0 3.5px rgba(59,130,246,0.12);
      outline: none;
    }

    /* Input wrapper for icons */
    .input-wrap {
      position: relative;
    }
    .input-wrap .input-icon {
      position: absolute;
      left: .9rem;
      top: 50%; transform: translateY(-50%);
      width: 16px; height: 16px;
      color: #94a3b8;
      pointer-events: none;
      transition: color .18s;
    }
    .input-wrap .form-control {
      padding-left: 2.5rem;
    }
    .input-wrap:focus-within .input-icon { color: #3b82f6; }

    /* Password toggle */
    .toggle-pw {
      position: absolute;
      right: .85rem;
      top: 50%; transform: translateY(-50%);
      background: none; border: none; padding: 0;
      cursor: pointer;
      color: #94a3b8;
      display: flex; align-items: center;
      transition: color .15s;
    }
    .toggle-pw:hover { color: #3b82f6; }
    .toggle-pw svg { width: 16px; height: 16px; }

    /* Options row */
    .options-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }
    .form-check-input {
      width: 15px; height: 15px;
      border: 1.5px solid #cbd5e1;
      border-radius: 4px;
      cursor: pointer;
      margin-top: 0;
      transition: background .15s, border-color .15s;
    }
    .form-check-input:checked {
      background-color: #3b82f6;
      border-color: #3b82f6;
    }
    .form-check-input:focus { box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
    .form-check-label {
      font-size: .8125rem;
      color: #64748b;
      cursor: pointer;
      padding-left: .2rem;
    }
    .forgot-link {
      font-size: .8125rem;
      color: #3b82f6;
      text-decoration: none;
      font-weight: 500;
      transition: color .15s;
    }
    .forgot-link:hover { color: #2563eb; text-decoration: underline; }

    /* Submit button */
    .btn-login {
      width: 100%;
      padding: .72rem 1rem;
      background: linear-gradient(135deg, #37c6ab 0%, #29a98f 100%);
      border: none;
      border-radius: 10px;
      color: #fff;
      font-size: .9rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      cursor: pointer;
      transition: opacity .18s ease, box-shadow .18s ease, transform .12s ease;
      box-shadow: 0 4px 14px rgba(55,198,171,0.38);
      position: relative;
      overflow: hidden;
    }
    .btn-login::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
      border-radius: inherit;
    }
    .btn-login:hover {
      opacity: .92;
      box-shadow: 0 6px 20px rgba(55,198,171,0.45);
      transform: translateY(-1px);
    }
    .btn-login:active { transform: translateY(0); opacity: 1; }

    /* Divider */
    .divider {
      display: flex; align-items: center; gap: .75rem;
      margin: 1.4rem 0;
      color: #94a3b8;
      font-size: .78rem;
      font-weight: 500;
    }
    .divider::before, .divider::after {
      content: ''; flex: 1;
      height: 1px; background: #e2e8f0;
    }

    /* SSO / Social button */
    .btn-sso {
      width: 100%;
      padding: .65rem 1rem;
      background: #f8fafc;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      color: #374151;
      font-size: .875rem;
      font-weight: 500;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: .6rem;
      transition: background .15s, border-color .15s, box-shadow .15s;
    }
    .btn-sso:hover {
      background: #fff;
      border-color: #cbd5e1;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .btn-sso img { width: 18px; height: 18px; }

    /* Footer */
    .login-footer {
      text-align: center;
      margin-top: 1.5rem;
      font-size: .8125rem;
      color: #64748b;
    }
    .login-footer a {
      color: #3b82f6;
      text-decoration: none;
      font-weight: 600;
      transition: color .15s;
    }
    .login-footer a:hover { color: #2563eb; text-decoration: underline; }

    /* Micro-animation on card load */
    .login-card {
      animation: cardIn .4s cubic-bezier(.22,.68,0,1.2) both;
    }
    @keyframes cardIn {
      from { opacity: 0; transform: translateY(18px) scale(.98); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    @media (max-width: 480px) {
      body {
        padding: 1.25rem 0.75rem 2rem;
      }
      .login-card {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 16px;
      }
      .login-card h1 {
        font-size: 1.35rem;
      }
      .brand-badge {
        margin-bottom: 1.25rem;
      }
    }