/* Login Page - Premium Responsive CSS */
:root {
    /* Color System */
    --primary: #6366f1;
    --primary-light: #e0e7ff;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1e293b;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    
    /* Spacing & Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --glass-bg: rgba(255, 255, 255, 0.96);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-effect: blur(16px);
  }
  
  /* Modern Reset & Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--slate-100);
    color: var(--dark);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at 10% 20%, rgba(224, 231, 255, 0.5) 0%, rgba(241, 245, 249, 1) 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  
  /* Glassmorphism Container */
  .container {
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: var(--glass-border);
    animation: fadeIn 0.6s ease-out;
  }
  
  /* Typography with Gradient Accents */
  h2 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
  }
  
  h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
  }
  
  /* Premium Alerts with Icons */
  .alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid transparent;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }
  
  .alert::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.25rem;
    min-width: 24px;
  }
  
  .alert::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0.05;
    z-index: 0;
  }
  
  .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-left-color: var(--danger);
  }
  
  .alert-danger::before {
    content: '\f06a';
  }
  
  /* Sophisticated Form Elements */
  .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
  }
  
  .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.5rem;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  }
  
  /* Luxury Login Button */
  .btn-login {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-sm);
    background: var(--gradient-primary);
    color: white;
    margin-top: 0.5rem;
  }
  
  .btn-login::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
  }
  
  .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-login:hover::after {
    opacity: 0.1;
  }
  
  .btn-login::before {
    content: '\f2f6'; /* Font Awesome login icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      padding: 1.5rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
  }
  
  /* Custom Input Focus Effects */
  .form-control:focus {
    animation: float 2s infinite ease-in-out;
  }
  
  /* Password Toggle (Optional) */
  .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--slate-500);
  }
  
  .password-toggle:hover {
    color: var(--primary);
  }
  
  .password-container {
    position: relative;
  }