/* Inactivity Auto Logout Overlay Warning Modal */
.wtols-logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wtols-logout-overlay.wtols-active {
    opacity: 1;
    visibility: visible;
}

.wtols-logout-modal {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(99, 102, 241, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #f8fafc;
}

.wtols-logout-overlay.wtols-active .wtols-logout-modal {
    transform: translateY(0);
}

.wtols-logout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    margin-bottom: 20px;
    font-size: 32px;
    position: relative;
    animation: wtols-pulse 2s infinite;
}

@keyframes wtols-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.wtols-logout-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #f8fafc;
}

.wtols-logout-message {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0 0 24px 0;
}

#wtols-countdown-sec {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ef4444;
    display: block;
    margin-top: 10px;
}

.wtols-logout-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.wtols-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wtols-btn-primary {
    background: #6366f1;
    color: #ffffff;
}

.wtols-btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25);
}

.wtols-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.wtols-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}
