/* ===== MODAL CUSTOMIZADO ===== */

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 43, 82, 0.85);
    /* Fundo azul escuro transparente */
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #ffd34d;
    /* Borda dourada */
}

.custom-modal-overlay.active .custom-modal {
    transform: translateY(0);
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #0d2b52;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-btn {
    background: #0d2b52;
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 20px rgba(13, 43, 82, 0.2);
}

.modal-btn:hover {
    background: #19407a;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(13, 43, 82, 0.3);
}

/* Variações de Status */
.custom-modal.success .modal-icon {
    color: #22c55e;
    /* Verde Sucesso */
}

.custom-modal.error .modal-icon {
    color: #ef4444;
    /* Vermelho Erro */
}