/* Logo container styles */
.logo-container img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .logo-container img {
        max-width: 200px;
    }
}

/* Password toggle styles */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.field-wrapper.input {
    position: relative;
}

/* Button loading styles */
.btn-loading {
    pointer-events: none;
    opacity: 0.6;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Lockout banner styles */
.lockout-banner {
    background: white;
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Form container */
.form-container .form-form {
    width: 100%;
}

/* Noscript warning styles */
.noscript-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #96bbf3;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noscript-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 600px;
}

.noscript-icon {
    margin-bottom: 30px;
}

.noscript-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.noscript-message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.noscript-footer {
    font-size: 0.95rem;
    color: #bfc9d4;
}

/* Hide all body content when noscript is active */
body.noscript-active {
    overflow: hidden !important;
}

body.noscript-active > *:not(noscript) {
    display: none !important;
}

.lockout-banner h4 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.lockout-banner p {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
}

.lockout-banner .countdown {
    font-size: 3rem;
    font-weight: 900;
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    text-align: center;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.15);
    padding: 15px 30px;
    border-radius: 8px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form disabled styles */
.form-disabled {
    pointer-events: none;
    opacity: 0.5;
    position: relative;
}

.form-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(2px);
    border-radius: 5px;
    z-index: 5;
}
