﻿:root {
      --ink: #0f172a;
      --muted: #5b6b8b;
      --brand: #1c5cff;
      --brand-strong: #0f43d6;
      --card: rgba(255, 255, 255, 0.88);
      --stroke: rgba(15, 23, 42, 0.12);
      --shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    }

    * {
      box-sizing: border-box;
    }

    body {
      min-height: 100vh;
      margin: 0;
      font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(800px 400px at 10% 10%, rgba(28, 92, 255, 0.18), transparent 60%),
        radial-gradient(600px 300px at 90% 20%, rgba(15, 195, 170, 0.18), transparent 55%),
        linear-gradient(135deg, #f1f5ff, #e5f3ff 45%, #f5f1ff);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2.5rem 1.25rem;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background-image:
        radial-gradient(circle at 2px 2px, rgba(15, 23, 42, 0.08) 1px, transparent 0);
      background-size: 22px 22px;
      opacity: 0.22;
      pointer-events: none;
    }

    .login-shell {
      width: min(420px, 100%);
      position: relative;
      z-index: 1;
      animation: floatIn 0.6s ease both;
    }

    .login-card {
      border-radius: 22px;
      padding: 2.25rem 2.1rem 2rem;
      background: var(--card);
      border: 1px solid var(--stroke);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }

    .brand-block {
      text-align: center;
      margin-bottom: 1.75rem;
    }

    .brand-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 0.85rem;
      border-radius: 999px;
      background: rgba(28, 92, 255, 0.12);
      color: var(--brand-strong);
      font-size: 0.85rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .brand-title {
      font-size: 1.55rem;
      font-weight: 700;
      margin: 0.35rem 0 0.25rem;
    }

    .brand-subtitle {
      color: var(--muted);
      font-size: 0.95rem;
      margin: 0;
    }

    .input-group-text {
      border-radius: 14px 0 0 14px;
      background: rgba(15, 23, 42, 0.04);
      border: 1px solid rgba(15, 23, 42, 0.1);
      padding: 0.75rem 0.85rem;
    }

    .form-control {
      border-radius: 0 14px 14px 0;
      border-left: none;
      background: #fff;
      padding: 0.8rem 0.9rem;
      font-size: 0.95rem;
    }

    .form-control:focus {
      box-shadow: none;
      border-color: var(--brand);
    }

    .btn-primary {
      border-radius: 14px;
      padding: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      background: var(--brand);
      border: none;
      box-shadow: 0 10px 24px rgba(28, 92, 255, 0.25);
    }

    .btn-primary:hover {
      background: var(--brand-strong);
    }

    .divider {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--muted);
      font-size: 0.85rem;
      margin: 1.15rem 0 0.9rem;
    }

    .divider::before,
    .divider::after {
      content: "";
      flex: 1;
      height: 1px;
      background: rgba(15, 23, 42, 0.12);
    }

    .btn-google {
      border-radius: 14px;
      padding: 0.78rem;
      font-weight: 600;
      border: 1px solid rgba(15, 23, 42, 0.12);
      background: #fff;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-google:hover {
      background: #f7f7f9;
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    }

    .google-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
    }

    .auth-errors {
      background: rgba(255, 70, 70, 0.08);
      border: 1px solid rgba(255, 70, 70, 0.25);
      color: #9b1c1c;
      padding: 0.65rem 0.75rem;
      border-radius: 12px;
      font-size: 0.9rem;
      margin-bottom: 0.9rem;
    }

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

@media (max-width: 576px) {
  .login-card {
    padding: 2rem 1.5rem 1.75rem;
  }
}

.auth-login-logo {
  max-height: 72px;
}

