/* Login Page CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: white;
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.login-header i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    color: #212529;
}

.login-header h2 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #212529;
    font-size: 1.5rem;
}

.login-header p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.login-body {
    padding: 2.5rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #212529;
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.1);
    outline: 0;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background: #212529;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.15s ease-in-out;
    margin-top: 1rem;
}

.btn-login:hover {
    background: #424649;
    color: white;
}

.btn-login:active {
    background: #000;
}

.alert {
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    border: 1px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    border: 1px solid #28a745;
    background-color: #d4edda;
    color: #155724;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: #212529;
    border-color: #212529;
}

.forgot-password {
    color: #212529;
    text-decoration: none;
    font-weight: 400;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #000;
}

.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: #6c757d;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e9ecef;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.demo-info {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.demo-info strong {
    color: #212529;
}

.footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.footer-text a {
    color: #212529;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 576px) {
    .login-header {
        padding: 2rem 1.5rem;
    }
    
    .login-body {
        padding: 2rem 1.5rem;
    }
    
    .login-header i {
        font-size: 3rem;
    }
}

