/* Idle Timeout Warning Modal Styles */

.idle-timeout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.idle-timeout-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: slideDown 0.3s ease-out;
}

.idle-timeout-modal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.idle-timeout-modal .modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.idle-timeout-modal .modal-title i {
    margin-right: 8px;
}

.idle-timeout-modal .modal-body {
    padding: 24px;
    text-align: center;
}

.idle-timeout-modal .modal-body > p:first-child {
    font-size: 1.1rem;
    color: #555;
}

.timeout-countdown {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.countdown-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.idle-timeout-modal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    border-radius: 0 0 12px 12px;
}

.idle-timeout-modal .modal-footer .btn {
    min-width: 150px;
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.idle-timeout-modal .modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.idle-timeout-modal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .idle-timeout-modal {
        width: 95%;
        margin: 0 10px;
    }

    .countdown-circle {
        width: 120px;
        height: 120px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .idle-timeout-modal .modal-title {
        font-size: 1.1rem;
    }
}

