/* Modal global tipo Motor — usado por showConfirmModal / showAlertModal */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 12% auto;
    padding: 24px 28px;
    border-radius: 10px;
    width: 90%;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.modal-message {
    font-size: 14px;
    color: #1f2937;
    line-height: 1.5;
    margin: 0;
}

.confirmation-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 24px 0 0 0;
}

.modal-btn {
    background-color: var(--color-btn);
    color: var(--color-btn-font);
    border: none;
    border-radius: 6px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 100px;
}

.modal-btn:hover {
    background-color: var(--color-btn-hover);
}

.modal-btn--ghost {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.modal-btn--ghost:hover {
    background-color: #f3f4f6;
}
