/* Modern Login Page Styles */

body {
    background-color: #9a0808 !important;
}

.min-h-screen {
    min-height: 100vh;
    background-color: #9a0808 !important;   
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.login-page .navbar {
    display: none !important;
}

.login-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(154, 8, 8, 0.1);
    padding: 2.5rem !important;
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

.login-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #9a0808;
    box-shadow: 0 0 0 2px rgba(154, 8, 8, 0.2);
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.btn-login {
    background-color: #9a0808 !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-login:hover {
    background-color: #7a0606 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 8, 8, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-link {
    color: #9a0808;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #7a0606;
    text-decoration: underline;
}

.alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-danger {
    background-color: #fff5f5;
    color: #c53030;
    border-left: 4px solid #9a0808;
}

.alert-success {
    background-color: #f0fff4;
    color: #2f855a;
    border-left: 4px solid #9a0808;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-checkbox input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 4px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #9a0808;
    border-color: #9a0808;
}

.custom-checkbox span {
    color: #666;
    font-size: 0.9rem;
}

hr {
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

/* Spinner animation for submit button */
.spinner {
    display: none;
    margin-right: 0.5rem;
}

.button-prevent-x-submits[disabled] .spinner {
    display: inline-block;
}