/* Session Expired Modal Styles */
.session-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.session-expired-modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.7);
    opacity: 0;
    animation: slideIn 0.4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.session-expired-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.session-expired-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #d97706;
    animation: pulse 2s infinite;
}

.session-expired-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.session-expired-message {
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.session-expired-timer {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    border: 2px solid #e5e7eb;
}

.session-expired-timer-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.session-expired-countdown {
    font-size: 28px;
    font-weight: 700;
    color: #dc2626;
    font-family: "Courier New", monospace;
}

.session-expired-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.session-expired-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.session-expired-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.session-expired-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.session-expired-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.session-expired-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

.session-expired-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.session-expired-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .session-expired-modal {
        padding: 30px 20px;
        margin: 20px;
    }

    .session-expired-buttons {
        flex-direction: column;
    }

    .session-expired-btn {
        width: 100%;
    }

    .session-expired-title {
        font-size: 20px;
    }

    .session-expired-countdown {
        font-size: 24px;
    }
}
