﻿body {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Ensure the body takes at least the full viewport height */
    margin: 0; /* Remove default body margin */
    background-color: #f0f0f0; /* Optional: Set a background color for the page */
}

.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffc107;
    color: #000;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 1001;
    box-sizing: border-box;
}

    .notification-banner a {
        color: #000;
        font-weight: bold;
        text-decoration: underline;
    }

.notification-icon {
    margin-right: 6px;
    display: inline-block;
    animation: shake 1.5s infinite;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-12deg);
    }

    40% {
        transform: rotate(12deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    80% {
        transform: rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .notification-icon {
        animation: none;
    }
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /*background-color: #eee;*/ /* Example footer background */
    text-align: center;
    padding: 10px 0;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    padding-left: 5px;
}

.login-title {
    display: block;
    font-size: 14px;
    color: #1E2B3C;
}

.login-subtitle {
    display: block;
    margin: 10px auto 0;
    max-width: 280px;
    color: #67676a;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.login-label {
    display: block;
    margin-bottom: -10px;
    color: #1E2B3C;
    text-align: left;
}

input.login-input {
    width: 100%;
    height: 42px;
    margin: 4px 0 12px;
    padding: 7px 9px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #F3F4F6;
    text-align: left;
    box-sizing: border-box;
    font-family: 'InterRegular';
    font-size: 11px;
    color: #1E2B3C;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    input.login-input:focus {
        border-color: #FF4D00;
        background: #fff;
    }

.login-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1E2B3C;
    color: #fff;
    font-size: 12px !important;
}

    .login-btn:hover {
        background: #FF4D00;
        color: #fff;
    }

.login-links {
    color: #3B6CB7;
}

    .login-links:hover {
        color: #3B6CB7;
        text-decoration: underline;
    }

#togglePassword {
    position: absolute;
    right: 20px;
    top: 42%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
    line-height: 1;
    transition: color 0.3s ease;
}

    /*#togglePassword:hover,
    #togglePassword:focus {
        color: #333;
        outline: 2px solid #007bff;
        outline-offset: 2px;
        border-radius: 2px;
    }*/

@media (prefers-reduced-motion: reduce) {
    .button-container .btn,
    #togglePassword,
    .forgot-links a {
        transition: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    #togglePassword {
        color: #000;
    }

    .forgot-links a {
        text-decoration: underline;
    }
}

