/* Login Page Styles */
:root {
    --primary: #950101;
    --primary-hover: #7a0101;
}

.login-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6eef8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.custom-login-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.logo-container .welcome-text {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-container {
    max-width: 360px;
    margin: 0 auto;
}

.custom-login-form .form-group {
    margin-bottom: 1.25rem;
}

.custom-login-form .form-control {
    height: 46px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: none;
    font-size: 14px;
    padding: 0.75rem 1rem;
    width: 100%;
    background-color: #f8f9fa;
}

.custom-login-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(149, 1, 1, 0.1);
    background-color: #fff;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #004A98;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    text-align: center;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #eee;
}

.custom-alert {
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.custom-alert.alert-danger {
    background-color: #fff2f2;
    border-left: 4px solid var(--primary);
    color: #d63939;
}

.custom-alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-login-box {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .logo-container img {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .custom-login-box {
        padding: 1.25rem;
    }
    
    .btn-primary {
        width: 100%;
    }
}