.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

    .modal-overlay-custom.ativo {
        opacity: 1;
        pointer-events: auto;
    }

.modal-box-custom {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(15px) scale(0.95);
    transition: transform 0.2s ease;
    font-family: system-ui, -apple-system, sans-serif;
}

.modal-overlay-custom.ativo .modal-box-custom {
    transform: translateY(0) scale(1);
}

.modal-icone-custom {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    font-weight: bold;
}

    .modal-icone-custom.warning {
        background: #fef3c7;
        color: #d97706;
    }

    .modal-icone-custom.error {
        background: #fee2e2;
        color: #dc2626;
    }

    .modal-icone-custom.success {
        background: #dcfce7;
        color: #16a34a;
    }

.modal-titulo-custom {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.modal-texto-custom {
    font-size: 15px;
    color: #475569;
    margin: 0 0 24px;
    line-height: 1.5;
}

.modal-btn-custom {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

    .modal-btn-custom:hover {
        background: #1d4ed8;
    }
