/* You can write dashboard, front-end main styles and responsive etc
-------------------------------------------------------------- */

/* ============================================
   CUSTOMIZAÇÃO SWEETALERT2 - VALIDAÇÃO DE PACOTES
   ============================================ */

/* Esconder loading quando SweetAlert estiver aberto */
.swal2-shown .dc-preloader-section,
.swal2-shown .spinner-border,
.swal2-shown .loader,
.swal2-shown .loading,
.swal2-shown #loading,
.swal2-shown .dc-loading,
.swal2-shown [class*="preloader"],
.swal2-shown [class*="spinner"],
.swal2-shown [id*="loader"],
.swal2-shown .overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

/* Forçar body scroll quando SweetAlert estiver aberto */
.swal2-shown body {
    overflow: auto !important;
}

.validacao-pacote-popup {
    border-radius: 15px !important;
    padding: 20px !important;
    z-index: 999999 !important; /* Maior que qualquer loading */
}

.swal2-container {
    z-index: 999998 !important; /* Garantir que overlay fique acima de tudo */
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(3px) !important;
}

.validacao-pacote-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-bottom: 10px !important;
}

.validacao-pacote-content {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #34495e !important;
    text-align: left !important;
    padding: 15px 10px !important;
}

.validacao-pacote-content br {
    margin: 8px 0 !important;
    display: block !important;
    content: "" !important;
}

/* Ícone maior e mais bonito */
.swal2-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 20px auto !important;
}

/* Botão de confirmação customizado */
.swal2-confirm {
    background-color: #3085d6 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    background-color: #2574c2 !important;
    transform: scale(1.05) !important;
}

/* Animação de entrada */
.swal2-show {
    animation: swal2-show 0.3s !important;
}

@keyframes swal2-show {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    45% {
        transform: scale(1.05);
        opacity: 1;
    }
    80% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}
