:root {
    --primary-color: #0d2c56; /* Navy Blue AAL */
    --accent-color: #eab308; /* Gold */
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a8a 100%);
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow-y: auto !important;
    padding: 2rem 0;
}

.authentication-wrapper {
    width: 100%;
    max-width: 850px;
    padding: 1.5rem;
    margin: 0 auto;
}

.card {
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    background-color: #fff;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.app-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    text-align: center;
}

.app-brand i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.app-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    margin-bottom: 0;
    line-height: 1.2;
}

.app-brand-sub {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 44, 86, 0.15);
}

.input-group-text {
    border: 2px solid #eee;
    border-left: none;
    background: #fff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #888;
}

.form-control:focus + .input-group-text {
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #081d3b;
    border-color: #081d3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 44, 86, 0.3);
}

.back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-link a:hover {
    color: var(--primary-color);
}

/* Alert Styling */
.alert-danger {
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.form-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0d2c56;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 0.5rem;
}
.form-section-title:first-child {
    margin-top: 0;
}

.datepicker {
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.datepicker table tr td.active.active {
    background-color: #0d2c56 !important; 
    background-image: none !important;
}

.error-text {
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
}
.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
}
