    body, html {
      height: 100%;
      margin: 0;
      padding: 0;
    }
    
    .bg-cover {
      background-image: url('intro.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
    }
    
    .content {
      position: relative;
      z-index: 2;
      color: white;
      width: 100%;
      max-width: 800px;
      padding: 2rem;
    }
    
    .glass-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 25px;
      color: white;
      padding: 3rem;
      transition: all 0.3s ease;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .glass-card:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-5px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    }

    .btn-back {
      background: rgba(108, 117, 125, 0.8);
      border: 1px solid rgba(108, 117, 125, 0.6);
      backdrop-filter: blur(10px);
      border-radius: 15px;
      color: white;
      transition: all 0.3s ease;
    }
    
    .btn-back:hover {
      background: rgba(108, 117, 125, 1);
      color: white;
      transform: scale(1.05);
    }

    .login-header {
      text-align: center;
      margin-bottom: 2.5rem;
    }
    
    .login-header h1 {
      color: white;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      font-weight: bold;
      margin-bottom: 0.5rem;
      font-size: 2.2rem;
    }
    
    .login-header p {
      color: rgba(255, 255, 255, 0.8);
      font-size: 1.1rem;
      margin: 0;
    }
    
    .welcome-icon {
      font-size: 4rem;
      color: #ffc107;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .form-floating {
      margin-bottom: 1.5rem;
    }
    
    .form-floating > .form-control {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 15px;
      color: white;
      backdrop-filter: blur(10px);
      padding: 1rem;
      font-size: 1.1rem;
      height: 3.5rem;
      transition: all 0.3s ease;
    }
    
    .form-floating > .form-control:focus {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(13, 110, 253, 0.8);
      color: white;
      box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }
    
    .form-floating > .form-control::placeholder {
      color: transparent;
    }
    
    .form-floating > label {
      color: rgba(255, 255, 255, 0.8);
      font-weight: 500;
      right: 1rem;
      font-size: 0.9rem;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
      color: #ffc107;
      transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    }
    
    .input-group-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(255, 255, 255, 0.6);
      font-size: 1.2rem;
      z-index: 10;
    }
    
    .password-toggle {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      font-size: 1.2rem;
      z-index: 10;
      transition: color 0.3s ease;
    }
    
    .password-toggle:hover {
      color: rgba(255, 255, 255, 0.9);
    }
    
    .btn-login {
      background: linear-gradient(45deg, #28a745, #20c997);
      border: none;
      border-radius: 15px;
      padding: 1rem 2rem;
      font-size: 1.2rem;
      font-weight: bold;
      color: white;
      box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      width: 100%;
      margin-bottom: 1.5rem;
    }
    
    .btn-login:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
      background: linear-gradient(45deg, #20c997, #28a745);
    }
    
    .btn-login:active {
      transform: translateY(0);
    }
    
    .remember-me {
      display: flex;
      align-items: center;
      margin-bottom: 1.5rem;
      color: rgba(255, 255, 255, 0.9);
      background: rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 0.75rem 1rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .remember-me:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(32, 201, 151, 0.4);
    }
    
    .remember-me input[type="checkbox"] {
      margin-left: 0.75rem;
      width: 20px;
      height: 20px;
      accent-color: #20c997;
      cursor: pointer;
      border-radius: 4px;
    }
    
    .remember-me label {
      cursor: pointer;
      font-weight: 500;
      flex-grow: 1;
      margin: 0;
      user-select: none;
    }
    
    .remember-me i {
      margin-left: 0.5rem;
      color: #20c997;
      font-size: 1.1rem;
    }
    
    .forgot-password {
      text-align: center;
      margin-bottom: 2rem;
    }
    
    .forgot-password a {
      color: #ffc107;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    
    .forgot-password a:hover {
      color: #ffdb4d;
      text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    }
    
    .signup-link {
      text-align: center;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.8);
    }
    
    .signup-link a {
      color: #20c997;
      text-decoration: none;
      font-weight: bold;
      margin-right: 0.5rem;
      transition: all 0.3s ease;
    }
    
    .signup-link a:hover {
      color: #28a745;
      text-shadow: 0 0 10px rgba(32, 201, 151, 0.5);
    }
    
    .alert-custom {
      background: rgba(220, 53, 69, 0.1);
      border: 1px solid rgba(220, 53, 69, 0.3);
      border-radius: 15px;
      color: #ff6b6b;
      backdrop-filter: blur(10px);
      margin-bottom: 1.5rem;
      padding: 1rem;
      text-align: center;
      display: none;
    }
    
    .loading-spinner {
      display: none;
      margin-right: 0.5rem;
    }
    
    /* استجابة للشاشات الصغيرة */
    @media (max-width: 768px) {
      .content {
        padding: 1rem;
      }
      
      .glass-card {
        padding: 2rem;
        border-radius: 20px;
      }
      
      .login-header h1 {
        font-size: 1.8rem;
      }
      
      .welcome-icon {
        font-size: 3rem;
      }
      
      .btn-login {
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
      }
    }
    
    @media (max-width: 576px) {
      .glass-card {
        padding: 1.5rem;
        margin: 1rem;
      }
      
      .login-header h1 {
        font-size: 1.6rem;
      }
      
      .welcome-icon {
        font-size: 2.5rem;
      }
      
      .form-floating > .form-control {
        font-size: 1rem;
      }
    }
    
    /* تحسينات اللمس للهاتف المحمول */
    @media (hover: none) and (pointer: coarse) {
      .glass-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.12);
      }

      .btn-back:hover {
        transform: none;
      }

      .btn-login:hover {
        transform: none;
      }
      
      .glass-card:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.2);
      }
      
      .btn-login:active {
        transform: scale(0.95);
      }
    }
    
    /* تأثيرات متحركة */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .glass-card {
      animation: fadeInUp 0.6s ease-out;
    }
    
    @keyframes pulse {
      0%, 100% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
    }
    
    .welcome-icon {
      animation: pulse 2s infinite;
    }