/* ========== INACTIVITY WARNING MODAL ========== */
.inactivity-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.warning-content {
    background: linear-gradient(135deg, #1a2332 0%, #0d1117 100%);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    border: 2px solid #f39c12;
    box-shadow: 0 20px 60px rgba(243, 156, 18, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.warning-content h3 {
    font-size: 1.8rem;
    color: #f39c12;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.warning-content p {
    font-size: 1.1rem;
    color: #e5e5e5;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

#countdown {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f39c12;
    padding: 0.2rem 0.5rem;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 6px;
}

.btn-extend {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-extend:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.btn-extend:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .warning-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .warning-content h3 {
        font-size: 1.5rem;
    }

    .warning-content p {
        font-size: 1rem;
    }
}