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

    body {
      background: #0d0d0c;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Sora', sans-serif;
    }

    .auth-card {
      background: #111110;
      border: 0.5px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      padding: 48px 44px 40px;
      width: 100%;
      max-width: 420px;
      position: relative;
      overflow: hidden;
    }

    .auth-card::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(255,255,255,0.035) 0%, transparent 70%);
      pointer-events: none;
    }

    .auth-card::after {
      content: '';
      position: absolute;
      bottom: -80px;
      left: -60px;
      width: 220px;
      height: 220px;
      background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
      pointer-events: none;
    }

    .logo {
      display: flex;
      justify-content: center;
      margin-bottom: 28px;
    }

    .logo-box {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #1e1e1c;
      border: 0.5px solid rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    h1 {
      text-align: center;
      font-size: 22px;
      font-weight: 600;
      color: #f0efea;
      letter-spacing: -0.3px;
      margin-bottom: 8px;
    }

    .subtitle {
      text-align: center;
      font-size: 13px;
      color: rgba(255,255,255,0.32);
      font-weight: 300;
      margin-bottom: 32px;
    }

    .fields {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 14px;
    }

    .field {
      position: relative;
    }

    .field svg {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.25;
      pointer-events: none;
    }

    input {
      width: 100%;
      background: #1a1a18;
      border: 0.5px solid rgba(255,255,255,0.1);
      border-radius: 10px;
      padding: 13px 14px 13px 42px;
      font-family: 'Sora', sans-serif;
      font-size: 14px;
      font-weight: 300;
      color: #e8e7e2;
      outline: none;
      transition: border-color 0.15s, background 0.15s;
    }

    input::placeholder { color: rgba(255,255,255,0.2); }

    input:focus {
      border-color: rgba(255,255,255,0.26);
      background: #1e1e1c;
    }

    .forgot-row {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 20px;
    }

    .forgot {
      font-size: 12px;
      color: rgba(255,255,255,0.28);
      text-decoration: none;
      transition: color 0.15s;
      cursor: pointer;
    }

    .forgot:hover { color: rgba(255,255,255,0.55); }

    .btn-primary {
      width: 100%;
      padding: 13px;
      background: #f0efea;
      border: none;
      border-radius: 10px;
      font-family: 'Sora', sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: #111110;
      cursor: pointer;
      letter-spacing: 0.1px;
      transition: background 0.15s, transform 0.1s;
    }

    .btn-primary:hover { background: #ffffff; }
    .btn-primary:active { transform: scale(0.985); }
    .btn-primary:disabled { opacity: 0.6; cursor: default; }

    .divider {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 20px 0;
    }

    .divider-line {
      flex: 1;
      height: 0.5px;
      background: rgba(255,255,255,0.08);
    }

    .divider span {
      font-size: 12px;
      color: rgba(255,255,255,0.18);
      font-weight: 300;
    }

    .btn-sso {
      width: 100%;
      padding: 12px;
      background: transparent;
      border: 0.5px solid rgba(255,255,255,0.1);
      border-radius: 10px;
      font-family: 'Sora', sans-serif;
      font-size: 13px;
      font-weight: 400;
      color: rgba(255,255,255,0.45);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: border-color 0.15s, color 0.15s;
    }

    .btn-sso:hover {
      border-color: rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.65);
    }

    .toast {
      display: none;
      margin-top: 18px;
      padding: 10px 14px;
      background: #1a2618;
      border: 0.5px solid rgba(100,200,80,0.18);
      border-radius: 8px;
      font-size: 13px;
      color: #82c96a;
      text-align: center;
      font-weight: 300;
    }

    .toast.show { display: block; }

    .error-msg {
      display: none;
      margin-top: 12px;
      font-size: 12px;
      color: #e05555;
      text-align: center;
      font-weight: 300;
    }

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