/* MODAL DE CONFIRMAÇÃO MODERNO (2025) */

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.confirm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-overlay.active .confirm-modal-container {
    transform: scale(1) translateY(0);
}

.confirm-modal-icon {
    width: 60px;
    height: 60px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ef4444;
}

.confirm-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.confirm-modal-text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 25px;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    flex-direction: column-reverse;
    /* Mobile first: stacked */
}

@media (min-width: 480px) {
    .confirm-modal-actions {
        flex-direction: row;
    }
}

.confirm-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.confirm-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.confirm-btn-cancel:hover {
    background: #e5e7eb;
}

.confirm-btn-delete {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.confirm-btn-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
}

.confirm-btn:active {
    transform: translateY(0);
}