/* Additional styles for login page */
body {
    background-color: var(--gray-color); /* Light background for the page */
}
.login-section {
    padding: 20px 15px; /* Adjusted padding: minimal vertical, some horizontal for small screens */
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.92), rgba(38, 166, 154, 0.9)), url('../images/banner1.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;     /* Vertical centering of the .container */
    justify-content: center; /* Horizontal centering of the .container */
}

.login-card {
    background: var(--light-color);
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 450px;   /* Max width of the card */
    width: 100%;        /* Responsive up to max-width */
    margin-left: auto;  /* Horizontally center the card within its parent column */
    margin-right: auto; /* Horizontally center the card within its parent column */
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.login-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 30px;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.login-header h2 {
    margin-bottom: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.login-body {
    padding: 30px 35px;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}
.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-control {
    border-radius: 0.375rem; /* Bootstrap default */
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--rgb-secondary-color), 0.25);
}

.login-btn {
    background-color: var(--primary-color);
    border: none;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #0a2540; /* Darker primary */
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    padding: 20px 30px;
    background-color: #f8f9fa; /* Light grey */
    border-top: 1px solid #dee2e6; /* Bootstrap border color */
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.login-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.login-social {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.login-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.login-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.facebook { background-color: #3b5998; }
.google { background-color: #db4437; }

.login-divider {
    position: relative;
    margin: 25px 0;
    text-align: center;
    color: #6c757d; /* Bootstrap muted text color */
    font-size: 0.85rem;
    font-weight: 600;
}

.login-divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6; /* Bootstrap border color */
    z-index: 1;
}

.login-divider span {
    position: relative;
    z-index: 2;
    background-color: var(--light-color); /* Match login card background */
    padding: 0 15px;
}
.logo-container {
    text-align: center;
    margin-bottom: 25px;
}
.logo-container img {
    max-height: 70px;
}

/* Modal custom styles */
.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.modal-icon.success {
    color: #28a745;
}
.modal-icon.warning {
    color: #ffc107;
}
.modal-icon.info {
    color: #17a2b8;
}
.modal-icon.error {
    color: #dc3545;
}