/* =================================================
   MODAL DE SESSÃO TERMINADA - EasyCalc
   ================================================= */

.session-terminated-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: sessionModalFadeIn 0.3s ease-out;
}

.session-terminated-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: sessionModalSlideUp 0.3s ease-out;
}

.session-terminated-modal .modal-header {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #f5c6cb;
    text-align: center;
}

.session-terminated-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.session-terminated-modal .modal-body {
    padding: 25px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.session-terminated-modal .modal-body p {
    margin: 0 0 12px 0;
}

.session-terminated-modal .modal-body ul {
    margin: 12px 0;
    padding-left: 20px;
}

.session-terminated-modal .modal-body li {
    margin: 6px 0;
    color: #666;
}

.session-terminated-modal .modal-body strong {
    color: #721c24;
    font-weight: 600;
}

.session-terminated-modal .modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.session-terminated-modal .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 140px;
    justify-content: center;
}

.session-terminated-modal .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.session-terminated-modal .btn:active {
    transform: translateY(0);
}

.session-terminated-modal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.session-terminated-modal .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.session-terminated-modal .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    color: white;
}

.session-terminated-modal .btn-secondary:hover {
    background: linear-gradient(135deg, #545b62 0%, #3d4043 100%);
}

/* Animações */
@keyframes sessionModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sessionModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade */
@media (max-width: 600px) {
    .session-terminated-modal .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .session-terminated-modal .modal-footer {
        flex-direction: column;
    }
    
    .session-terminated-modal .btn {
        width: 100%;
    }
}

/* Tema escuro (se aplicável) */
@media (prefers-color-scheme: dark) {
    .session-terminated-modal .modal-content {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .session-terminated-modal .modal-header {
        background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
        color: white;
    }
    
    .session-terminated-modal .modal-body {
        color: #e2e8f0;
    }
    
    .session-terminated-modal .modal-body strong {
        color: #fed7d7;
    }
    
    .session-terminated-modal .modal-footer {
        background: #1a202c;
        border-top-color: #4a5568;
    }
} 