body {
    font-family: 'Tajawal', sans-serif;
    background-image: url("../assets/images/hero_section.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

/* 2. Responsive Wrapper */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px; /* Essential for mobile so card doesn't touch screen edges */
}

/* 3. The Glass Container (Responsive) */
.glass-container {
    background: rgba(255, 255, 255, 0.75); /* Increased opacity for better readability on mobile */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    width: 100%;
    max-width: 420px; /* Professional standard for login cards */
    padding: 40px 30px;
    transition: transform 0.3s ease;
}

/* 4. Professional Input Styling */
.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-custom i {
    position: absolute;
    right: 15px;
    z-index: 10;
}

.form-control-custom {
    width: 100%;
    padding: 12px 45px 12px 15px; /* Space for the icon on the right */
    border-radius: 12px;
    border: 2px solid #e9ecef;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
}

/* 5. Modern Button */
.btn-login {
    background-color: #198754;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.forgot-link {
    font-size: 0.85rem;
    color: #198754;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 600;
}

/* 6. Mobile Bug Fixes */
@media (max-width: 480px) {
    .glass-container {
        padding: 30px 20px;
        border-radius: 18px;
    }
    
    .nav-logo {
        height: 60px; /* Smaller logo on small phones */
    }
}