/* NextCanino Interactive Wizard Theme (Driver.js v1.3+) */
.driver-popover.nc-driver-popover {
    border-radius: 12px !important;
    border: 1px solid #bfdbfe !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24) !important;
    padding: 16px 18px !important;
    max-width: 380px !important;
    font-family: inherit !important;
    z-index: 100000 !important;
}

.driver-popover.nc-driver-popover .driver-popover-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1d4ed8 !important;
    margin-bottom: 6px !important;
    padding-right: 22px !important;
}

.driver-popover.nc-driver-popover .driver-popover-description {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: #1e293b !important;
}

.driver-popover.nc-driver-popover .driver-popover-footer {
    margin-top: 14px !important;
}

.driver-popover.nc-driver-popover .driver-popover-progress-text {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

.driver-popover.nc-driver-popover button.driver-popover-next-btn {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.driver-popover.nc-driver-popover button.driver-popover-next-btn:hover {
    background-color: #1d4ed8 !important;
}

.driver-popover.nc-driver-popover button.driver-popover-prev-btn {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.driver-popover.nc-driver-popover button.driver-popover-close-btn {
    color: #64748b !important;
    font-size: 18px !important;
}

.driver-overlay {
    z-index: 99990 !important;
}

.driver-active-element {
    z-index: 99995 !important;
}

/* Barra flottante stato Wizard attivo */
#ncWizardStatusBar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100010;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 94vw;
}

#ncWizardStatusBar .nc-wizard-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.78rem;
}

#ncWizardStatusBar .nc-wizard-exit {
    background: #ffffff;
    color: #1d4ed8;
    border: none;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

#ncWizardStatusBar .nc-wizard-exit:hover {
    background: #eff6ff;
}

.nc-wizard-chip {
    border: 1px solid #bfdbfe !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 600 !important;
}

.nc-wizard-chip:hover {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
}
