/* Modal customizada para confirmação de ações */

.sg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.sg-modal-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: sg-modal-appear 0.3s ease-in-out;
}

@keyframes sg-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sg-modal-disappear {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.sg-modal-overlay.sg-modal-closing {
    animation: sg-modal-disappear 0.3s ease-in-out forwards;
}

.sg-modal-box .title_mp {
    margin: 0 0 20px 0;
}

.sg-modal-box h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.sg-modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 30px 0;
}

.sg-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.sg-modal-buttons .sg-btn {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.sg-modal-buttons .sg-modal-confirm {
    background: linear-gradient(135deg, #507D5D 0%, #243E2D 100%);
    color: white;
}

.sg-modal-buttons .sg-modal-confirm:hover {
    box-shadow: 0 4px 12px rgba(80, 125, 93, 0.3);
}

.sg-modal-buttons .sg-modal-cancel {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.sg-modal-buttons .sg-modal-cancel:hover {
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsivo */
@media (max-width: 600px) {
    .sg-modal-box {
        padding: 25px;
    }

    .sg-modal-buttons {
        flex-direction: column;
    }

    .sg-modal-buttons .sg-btn {
        min-width: auto;
        width: 100%;
    }
}
