/* ============================================
   Session Timeout Warning Modal Styles
   ============================================ */

/* Session timeout modal overlay */
.session-timeout-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.session-timeout-modal .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 8px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.session-timeout-modal .warning-header {
    background-color: #ff9800;
    color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #ccc;
}

.session-timeout-modal .warning-header h2 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.session-timeout-modal .modal-body {
    padding: 24px;
    text-align: center;
}

.session-timeout-modal .modal-footer {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #ccc;
    background-color: #f9f9f9;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.session-timeout-modal .modal-footer button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.session-timeout-modal .modal-footer .btn-primary {
    background-color: #0078D4;
    color: white;
}

.session-timeout-modal .modal-footer .btn-primary:hover {
    background-color: #005A9E;
}

.session-timeout-modal .modal-footer .btn-secondary {
    background-color: #666;
    color: white;
}

.session-timeout-modal .modal-footer .btn-secondary:hover {
    background-color: #555;
}

#sessionTimeoutCountdown {
    font-size: 1.3rem;
    color: #ff9800;
    font-weight: bold;
}
