/* === WRAPPER PRINCIPALE DEL SERVIZIO === */
#assegno-maternita-form .tab-pane {
    display: none !important;
}

#assegno-maternita-form .tab-pane.active.show {
    display: block !important;
}

/* === NASCONDE IN MODO DEFINITIVO LA BARRA BOTTONI DEL CORE === */
#assegno-maternita-form #divBtn,
#assegno-maternita-form #divBtn *,
#assegno-maternita-form .cmp-nav-steps,
#assegno-maternita-form .cmp-nav-steps *,
#assegno-maternita-form .steppers-nav,
#assegno-maternita-form .steppers-nav * {
    display: none !important;
}

/* Garantisce che qualsiasi .d-none funzioni sempre */
.d-none {
    display: none !important;
}
/* Nasconde la barra del core nello step 3 e 4 */
#assegno-maternita-form + #divBtn {
    display: none !important;
}

.tab-pane#step3 + #divBtn,
.tab-pane#step4 + #divBtn {
    display: none !important;
}
body.servizio-assegno-maternita #divBtn {
    display: none !important;
}

#wgs-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(255,255,255,0.85);

    z-index: 999999; /* sopra TUTTO */

    display: flex !important;
    justify-content: center;
    align-items: center;

    visibility: hidden;
    opacity: 0;
    transition: opacity .15s ease-in-out;
}

#wgs-loader-overlay.active {
    visibility: visible;
    opacity: 1;
}

#wgs-loader-overlay .spinner-border {
    width: 4rem;
    height: 4rem;
    color: var(--bs-primary);
}

/* === NOTIFY TOAST === */
#wgs-notify {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: none;
    padding: 12px 18px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

#wgs-notify.success { background: #28a745; }
#wgs-notify.error { background: #dc3545; }
#wgs-notify.info { background: #0d6efd; }
