/* css/login.css - v10 */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e7f0f7;
    background-image: url('../Images/background3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/background3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}



.login-container {
    background-color: #fff;
    padding: 15px 30px 10px 30px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    max-width: 450px;
    width: 100%;
    text-align: center;
    max-height: 100vh;
}

/* --- START: LOGO STYLE FIX --- */
.login-header .logo-link {
    display: inline-block; /* Allows margin and centering */
    text-decoration: none;
    text-align:center;
}

.logo-image {
    max-height: 20vh;
}
/* --- END: LOGO STYLE FIX --- */

.error-message.login-page-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 15px;
    border-radius: 4px;
    margin: 0 auto 20px auto;
    text-align: center;
    max-width: calc(100% - 30px);
    font-size: 0.9em;
}

.login-form .form-body-container {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 20px 5px 20px;
    margin-bottom: 10px;
}

.login-form .form-group {
    margin-bottom: 8px;
    text-align: left;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 5px;
    margin-top: 10px;
    font-weight: 500;
    font-size: 0.9em;
    color: #495057;
}
.login-form .form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="email"],
.login-form .form-group input[type="password"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    height: 40px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form .form-group input:focus {
    border-color: #005A9C;
    box-shadow: 0 0 0 0.2rem rgba(0, 90, 156, 0.25);
    outline: none;
}

.login-form .form-actions {
    margin-top: 10px;
}

.login-submit-button.glossy-button {
    width: 100%;
    height: 40px; 
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.0em;
    line-height: 40px; 
    margin-top: 20px;
}

.signup-redirect,
.forgot-password-link {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 0.85em;
}
.signup-redirect a,
.forgot-password-link a {
    color: #005A9C;
    font-weight: 500;
    text-decoration: underline;
}

#notificationModal .modal-content {
    max-width: 550px;
    text-align: left;
}
#notificationModal .modal-content h2 {
    text-align: center;
}
#notificationModal #notificationMessage {
    padding: 15px 25px;
}
#notificationModal #notificationMessage p {
    margin-bottom: 12px;
    text-align: left;
    line-height: 1.5;
    font-size: 0.95em;
}
#notificationModal #notificationMessage p:last-child {
    margin-bottom: 0;
}
#notificationModal #notificationMessage strong {
    color: #005A9C;
    font-weight: 600;
}
.notification-button-row {
    justify-content: space-between !important;
    gap: 15px;
}
.notification-button-row button.glossy-button {
    flex: 1 1 auto !important;
    min-width: 150px;
}
.required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* Mobile responsive styles - landscape */
@media (max-width: 768px) {
    body {
        padding: 10px;
        min-height: 100vh;
    }
    
    .login-container {
        padding: 20px 25px 30px 25px;
        margin: 0;
        max-width: 95%;
        width: calc(70% - 20px);
    }
   
}

@media (max-width: 480px) {
    body {
        min-height:95vh;
        margin: 0;
        background-image: none;
        background-color: rgb(0, 0, 255);
        align-items: center;
    }
    
    .login-container {
        padding: 15px;
        margin: 0;
        width: 93%;
    }
    
    .login-form .form-group {
        margin-bottom: 10px;
    }
    
    .login-form .form-actions {
        margin-top: 15px;
    }
}