/* =============================================================================
   MODAL GENÉRICO
   ============================================================================= */

/* Overlay */
.status-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.status-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Modal */
.status-modal {
    max-width: 500px;
    width: 90%;
    margin: 20px;
    background: var(--surface);
    color: var(--fg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.status-overlay:not(.hidden) .status-modal {
    transform: scale(1);
}

/* Botão de fechar */
.modal-close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--fg);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close-button:hover {
    background-color: var(--bg);
}

/* Conteúdo do modal */
.modal-content {
    padding: 32px;
}

.modal-header {
    margin-bottom: 16px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--fg);
    margin: 0;
}

.modal-body {
    color: var(--fg);
    line-height: 1.6;
}

/* Classes utilitárias */
.text-center {
    text-align: center;
}
