/* Update base_style()/css/login.css */

body {
    background: linear-gradient(135deg, #00214e 0%, #f52b1b 100%); /* Modern gradient background */
    font-family: 'Inter', sans-serif; /* Use a modern, clean font */
    color: #333; /* Default text color */
}

/* Custom Primary Color for your brand (e.g., a shade of teal) */
.text-primary {
    color: #00214e !important; /* A slightly darker shade for contrast */
}

.btn-success {
    background-color: #ec0c07; /* Your brand color for success button */
    border-color: #f82b1a;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.btn-success:hover {
    background-color: #00214e; /* Darken on hover */
    border-color: #00214e;
    transform: translateY(-2px); /* Slight lift on hover */
}

.card {
    background-color: #ffffff;
    border-radius: 1.25rem; /* Larger border-radius for softer corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* More pronounced, soft shadow */
}

.input-group-text {
    background-color: #f8f9fa !important; /* Light background for input group text/icons */
    border-color: #dee2e6;
    color: #6c757d; /* Icon color */
    border-radius: 0.5rem 0 0 0.5rem; /* Rounded corners for the icon part */
}

.form-control {
    border-color: #dee2e6;
    border-radius: 0 0.5rem 0.5rem 0; /* Rounded corners for the input field */
    padding: 0.75rem 1rem; /* More vertical padding */
}

.form-control:focus {
    border-color: #00214e; /* Highlight border on focus with brand color */
    box-shadow: 0 0 0 0.25rem rgb(11 0 172 / 25%); /* Glow effect on focus */
}

.form-check-input:checked {
    background-color: #00acac;
    border-color: #ec0c07;
}

a.text-success {
    color: #ec0c07 !important; /* Your brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a.text-success:hover {
    color: #ec0c07 !important;
    text-decoration: underline;
}

/* For footer links */
.text-muted.small {
    font-size: 0.875rem; /* Slightly smaller font for footer */
    color: rgba(255, 255, 255, 0.7) !important; /* Lighter color for text on dark background */
}

.text-muted.small:hover {
    color: #ffffff !important; /* White on hover */
}

hr.border-secondary-subtle {
    border-color: rgba(255, 255, 255, 0.3) !important; /* Lighter hr for contrast */
}

/* Optional: Add a subtle animation to the #page-container on load */
#page-container {
    animation: fadeInScale 0.8s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card {
        margin: 1rem; /* Add some margin on small screens */
    }
    .card-body {
        padding: 2rem; /* Reduce padding on small screens */
    }
    .input-group-lg .form-control,
    .input-group-lg .input-group-text {
        padding: 0.6rem 0.8rem; /* Slightly smaller padding for inputs */
        font-size: 0.9rem;
    }
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #d9e0e7;
    z-index: 9999;
    display: none;
}
.loading-spinner {
    height: 36px;
    width: 36px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -18px 0 0 -18px;
    border: 2px solid rgba(45,53,60,.85);
    border-top: 2px solid #fff;
    -webkit-border-radius: 36px;
    border-radius: 36px;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -ms-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
}