body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f8f9fa; /* Subtle background color */
}

.logo-bar {
    background-color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgb(225, 228, 228);
}

.logo-bar img {
    height: 65px;
}

.login-box {
    width: 400px;
    background-color: white;
    border: 2px solid rgb(235, 235, 235);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 140px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cae-label {
    margin-bottom: 20px;
    color: rgb(47, 53, 59);
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
}

.username, .password {
    width: 100%;
    height: 40px;
    border: 1px solid rgb(208, 215, 222);
    border-radius: 4px;
    padding: 8px;
    margin: 10px 0;
    font-size: 1rem;
    box-sizing: border-box;
}

button, .login-button {
    width: 100%;
    max-width: 200px;
    height: 40px;
    background-color: #002856;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:hover, .login-button:hover {
    background-color: #0056b3;
}

.additional-links {
    text-align: center;
    margin-top: 20px;
}

.additional-links a {
    display: block;
    margin: 5px 0;
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
}

.additional-links a:hover {
    text-decoration: underline;
}

.reset-instructions {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    margin: 15px 0;
    line-height: 1.6;
}

.reset-form input[type="email"], .reset-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.reset-form input[type="submit"], .reset-form button {
    width: 100%;
    padding: 10px;
    background-color: #002856;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.reset-form input[type="submit"]:hover, .reset-form button:hover {
    background-color: #0056b3;
}

.forgot-password-link {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #002856;
    text-decoration: none;
    margin: 10px 0;
}

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

.interest-form {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    margin: 10px 0;
}

.interest-form:hover {
    text-decoration: underline;
}

.footer-centered {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 10px 0;
    background-color: white;
    border-top: 1px solid rgb(225, 228, 228);
}

/* Spinner Styles */
.spinner {
    border: 8px solid #f3f3f3; /* Light gray */
    border-top: 8px solid #002856; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Loading Spinner Background */
#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner-text {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-align: center;
}

/* Button Loading State */
button:disabled, .login-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    animation: pulse 1.5s infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
