/* =============================================
   LOGIN SECURITY STYLES
   ============================================= */

.security-badge {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(26, 43, 110, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 3000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease;
}

.lockout-warning {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 30px;
    border-radius: 20px;
    z-index: 4000;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 400px;
    width: 90%;
}

.attempts-counter {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 15px;
    margin-left: 10px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.attempts-counter.warning {
    background: rgba(243, 156, 18, 0.3);
    color: var(--warning-color);
    animation: pulse-warning 2s infinite;
}

.attempts-counter.danger {
    background: rgba(231, 76, 60, 0.3);
    color: var(--danger-color);
    animation: pulse-danger 1s infinite;
}

.session-invalid-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: bold;
    z-index: 5000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.session-invalid-banner.show {
    display: flex;
    animation: slideDown 0.5s forwards;
}

.security-warning-box {
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease;
}

.security-warning-box.show {
    display: inline-block;
}

.security-warning-box.warning {
    background: rgba(243, 156, 18, 0.2);
    border-color: var(--warning-color);
}

.security-warning-box.danger {
    background: rgba(231, 76, 60, 0.2);
    border-color: var(--danger-color);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-danger {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}