:root {
      --primary: #6366f1;
      --primary-dark: #4f46e5;
      --light-green: #a7f3d0;
      --soft-yellow: #fef3c7;
      --gray-800: #1f2937;
      --success: #10b981;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: linear-gradient(135deg, #e0f2fe 0%, #d1fae5 50%, #fef3c7 100%);
      min-height: 100vh;
      color: var(--gray-800);
      overflow-x: hidden;
      position: relative;
    }

    /* Floating rising squares */
    .floating-squares {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }

    .square {
      position: absolute;
      background: rgba(255, 255, 255, 0.28);
      backdrop-filter: blur(8px);
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,0.35);
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
      animation: riseUp 22s infinite linear;
    }

    .sq1 { width: 180px; height: 180px; bottom: -100px; left: 10%; animation-delay: 0s;   animation-duration: 24s; }
    .sq2 { width: 140px; height: 140px; bottom: -120px; right: 18%; animation-delay: 5s;  animation-duration: 28s; }
    .sq3 { width: 220px; height: 220px; bottom: -180px; left: 25%;  animation-delay: 9s;  animation-duration: 32s; }
    .sq4 { width: 160px; height: 160px; bottom: -140px; right: 12%; animation-delay: 14s; animation-duration: 26s; }

    @keyframes riseUp {
      0%   { transform: translateY(0) rotate(0deg); opacity: 0.7; }
      100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
    }

    .auth-wrapper {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2.5rem 1rem;
      position: relative;
      z-index: 2;
    }

    .auth-card {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(18px);
      border-radius: 1.5rem;
      border: 1px solid rgba(255,255,255,0.45);
      box-shadow: 0 20px 50px -12px rgba(0,0,0,0.18), 0 10px 25px -5px rgba(99,102,241,0.12);
      width: 100%;
      max-width: 480px;
      transition: all 0.35s ease;
    }

    .auth-header {
      background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
      color: white;
      padding: 2.8rem 2rem 2.2rem;
      text-align: center;
      border-radius: 1.5rem 1.5rem 0 0;
    }

    .auth-logo img {
      height: 64px;
      margin-bottom: 1rem;
      filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
    }

    /* ── FORM STYLING ──────────────────────────────────────── */
    .form-label {
      font-weight: 500;
      color: var(--gray-800);
      margin-bottom: 0.4rem;
      font-size: 0.95rem;
    }

    .form-control {
      border-radius: 0.75rem;
      padding: 0.68rem 1.1rem;
      font-size: 0.95rem;
      border: 2px solid #e5e7eb;
      transition: all 0.25s ease;
      background: rgba(255,255,255,0.75);
    }

    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
      background: white;
    }

    .btn-blinket {
      background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.9rem 1.5rem;
      border-radius: 0.75rem;
      transition: all 0.3s ease;
      box-shadow: 0 6px 20px rgba(99,102,241,0.3);
    }

    .btn-blinket:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(99,102,241,0.4);
    }

    .text-link {
      color: #4f46e5;
      font-weight: 600;
      text-decoration: none;
    }

    .text-link:hover {
      color: #4338ca;
      text-decoration: underline;
    }

    /* ── RESPONSIVE ADJUSTMENTS ────────────────────────────── */
    @media (min-width: 992px) {
      /* Desktop - smaller & more compact */
      .auth-card {
        max-width: 460px;
      }
      
      .form-label {
        font-size: 0.875rem;
      }
      
      .form-control {
        font-size: 0.92rem;
        padding: 0.62rem 1rem;
      }
      
      .auth-header {
        padding: 2.4rem 1.8rem 1.9rem;
      }
      
      .auth-logo img {
        height: 58px;
      }
    }

    @media (max-width: 576px) {
      /* Mobile - slightly bigger for touch comfort */
      .auth-card {
        margin: 1.25rem;
        border-radius: 1.25rem;
      }
      
      .form-label {
        font-size: 1rem;
      }
      
      .form-control {
        font-size: 1rem;
        padding: 0.8rem 1.25rem;
      }
      
      .btn-blinket {
        padding: 1rem;
        font-size: 1.05rem;
      }
    }