/* ===== LOGIN PAGE - MODERN GLASS EFFECT ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  /* ===== Body & Background ===== */
  .auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    overflow: hidden;
    position: relative;
  }
  
  /* Beautiful background image with animated gradient overlay */
  .auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(10, 17, 30, 0.45), rgba(10, 17, 30, 0.45)),
      url('https://images.unsplash.com/photo-1522199710521-72d69614c702?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    filter: brightness(0.8);
  }
  
  .auth-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, rgba(19,127,236,0.25), rgba(78,148,241,0.25), rgba(183,0,255,0.25), rgba(19,127,236,0.25));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
  }
  
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  /* ===== Login Card ===== */
  .auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 16px;
  }
  
  .auth-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  animation: fadeInUp 0.8s ease both;
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ===== Logo & Headings ===== */
  .auth-logo {
    display: block;
    margin: 0 auto 18px;
    height: 70px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
  }
  
  .auth-card h2 {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 8px;
    color: #fff;
  }
  
  .auth-hint {
  text-align: center;
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 16px;
  }
  
  /* ===== Form Fields ===== */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .form-group { position: relative; }
  
  .auth-form label {
    display: block;
  margin-bottom: 8px;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.9rem;
  }
  
  .input-with-icon {
    position: relative;
  }
  
  .input-with-icon i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
  }
  
  .auth-form input[type="text"],
  .auth-form input[type="password"] {
    width: 100%;
  padding: 12px 44px 12px 40px; /* leave room for both icons */
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .auth-form input::placeholder {
    color: #e2e8f0;
    opacity: 0.8;
  }
  
  .auth-form input:focus {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 3px rgba(19,127,236,0.4);
  }
  
  /* ===== Password Toggle ===== */
  #password-toggle {
  position: absolute;
  top: calc(50% + 2px);
  right: 12px;
  transform: translateY(-50%);
  color: #c8d0da;
  cursor: pointer;
  font-size: 1rem;
  }
  
  /* ===== Submit Button ===== */
  .auth-submit {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #137FEC, #4E94F1);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19,127,236,0.4);
  }
  
  /* ===== Error Message ===== */
  .auth-error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 10px;
    padding: 10px 12px;
    color: #ff8b94;
    margin-bottom: 16px;
    text-align: center;
    font-size: 0.9rem;
  }
  
  /* ===== Footer Link ===== */
  .auth-footer {
    text-align: center;
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-top: 18px;
  }
  
  .auth-footer a {
    color: #4E94F1;
    text-decoration: none;
    font-weight: 600;
  }
  
  .auth-footer a:hover {
    text-decoration: underline;
  }
  
  /* ===== Responsive ===== */
  @media (max-width: 600px) {
    .auth-card {
      padding: 30px 22px;
      border-radius: 16px;
    }
  
    .auth-card h2 {
      font-size: 1.6rem;
    }
  }
  