﻿



/* ═══════════════════════════════════════════
   ADMIRAL POINT – Brand tokens
   Estratti dallo screenshot reale
═══════════════════════════════════════════ */
:root {    
    --gold: #f0c000; /* yellow accent bar */
    --gold2: #e0ae00;
    --white: #ffffff;
    --bg: #f0f2f5;
    --card: #ffffff;
    --border: #d0d8e0;
    --text: #1a3a50;
    --muted: #5a7a90;
    --dim: #8fa8b8;
    --ok: #217a3c;
    --ok-bg: #e8f5ec;
    --ok-brd: #aad4b5;
    --err: #c0392b;
    --err-bg: #fdecea;
    --warn-bg: #fffbe6;
    --warn-brd: #ffe082;
    --info-bg: #e8f4fb;
    --info-brd: #b3d9ef;
    --info-txt: #155f82;
    --r: 6px;
    --sh: 0 2px 8px rgba(0,0,0,.1);
    --sh2: 0 1px 3px rgba(0,0,0,.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
    /*background: var(--bg);*/
    color: var(--text);
    font-size: 14px;
    min-height: 100vh;
}

/* ══ TOPBAR (fedele all'originale) ══ */
.topbar {
    background: var(--blue-dark);
    color: var(--white);
    padding: 0 20px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 54px;
}

.topbar-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.logo-box {
    background: var(--white);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 54px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue-dark);
    letter-spacing: -.5px;
    line-height: 1;
}

    .logo-text span {
        color: var(--gold);
    }

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
    vertical-align: middle;
}

.topbar-info {
    display: flex;
    align-items: center;
    font-size: 13px;
    gap: 6px;
    color: rgba(255,255,255,.92);
}

    .topbar-info strong {
        color: #fff;
        font-weight: 700;
    }

    .topbar-info .sep {
        opacity: .45;
    }

    .topbar-info a {
        color: var(--gold);
        text-decoration: none;
        font-weight: 700;
    }

        .topbar-info a:hover {
            text-decoration: underline;
        }

    .topbar-info .saldo {
        color: #fff;
        font-weight: 700;
    }

/* ══ MAIN NAV ══ */
.mainnav {
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    border-bottom: 3px solid var(--blue-mid);
}

    .mainnav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0 10px;
    }

        .mainnav ul li a {
            display: block;
            padding: 12px 14px;
            color: rgba(255,255,255,.8);
            text-decoration: none;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .3px;
            transition: .15s;
            border-bottom: 3px solid transparent;
            margin-bottom: -3px;
        }

            .mainnav ul li a:hover {
                color: #fff;
                background: rgba(255,255,255,.08);
            }

            .mainnav ul li a.active {
                color: #fff;
                background: rgba(255,255,255,.12);
                border-bottom-color: var(--gold);
            }

/* ══ SUBNAV ══ */
.subnav {
    background: var(--blue-mid);
    border-bottom: 2px solid rgba(0,0,0,.15);
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

    .subnav a {
        display: block;
        padding: 10px 24px;
        color: rgba(255,255,255,.75);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 3px solid transparent;
        margin-bottom: -2px;
        transition: .15s;
        text-transform: lowercase;
    }

        .subnav a:hover {
            color: #fff;
        }

        .subnav a.active {
            color: #fff;
            background: rgba(255,255,255,.1);
            border-bottom-color: var(--gold);
        }

/* ══ GOLD STRIPE (come nell'originale sopra il form) ══ */
.gold-stripe {
    background: var(--gold);
    height: 5px;
}

/* ══ LAYOUT ══ */
.page-wrap {
    max-width: 900px;
    margin: 28px auto;
    padding: 0 20px 60px;
}

/* ══ SECTION TITLE ══ */
.section-title {
    background: #00567C;
    color: #fff;
    text-align: center;
    padding: 13px 20px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: var(--r) var(--r) 0 0;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: var(--gold);
        margin: 6px auto 0;
        border-radius: 2px;
    }

/* ══ WIZARD CARD ══ */
.wizard-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh);
    overflow: hidden;
}

/* ══ STEPPER ══ */
.stepper-wrap {
    background: #f8fbfd;
    border-bottom: 2px solid var(--border);
    padding: 16px 24px;
}

.stepper {
    display: flex;
    align-items: flex-start;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

    .step-item::after {
        content: '';
        position: absolute;
        top: 15px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: var(--border);
        z-index: 0;
    }

    .step-item:last-child::after {
        display: none;
    }

    .step-item.done::after {
        background: var(--ok);
    }

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--dim);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: .25s;
}

.step-item.active .step-circle {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26,124,168,.18);
}

.step-item.done .step-circle {
    background: var(--ok);
    border-color: var(--ok);
    color: #fff;
    font-size: 0;
}

    .step-item.done .step-circle::after {
        content: '✓';
        font-size: 14px;
    }

.step-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .35px;
    color: var(--dim);
    text-align: center;
}

.step-item.active .step-label {
    color: var(--blue-dark);
}

.step-item.done .step-label {
    color: var(--ok);
}

/* ══ STEP CONTENT ══ */
.step-body {
    display: none;
    padding: 26px 28px;
    animation: fadeIn .2s ease;
}

    .step-body.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--blue-dark);
    color: #fff;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-h {
    font-size: 16px;
    font-weight: 800;
    color: var(--blue-dark);
}

.step-desc {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 20px 38px;
    line-height: 1.55;
}

    .step-desc strong {
        color: var(--text);
    }

/* ══ INFO BAR ══ */
.info-bar {
    background: var(--info-bg);
    border: 1px solid var(--info-brd);
    border-left: 3px solid var(--blue-dark);
    color: var(--info-txt);
    padding: 9px 13px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 12.5px;
    margin-bottom: 18px;
}

.warn-bar {
    background: var(--warn-bg);
    border: 1px solid var(--warn-brd);
    border-left: 3px solid #e6a817;
    color: #7a5500;
    padding: 9px 13px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 12.5px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.ok-bar {
    background: var(--ok-bg);
    border: 1px solid var(--ok-brd);
    border-left: 3px solid var(--ok);
    color: var(--ok);
    padding: 9px 13px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 12.5px;
    margin-bottom: 18px;
}

/* ══ FORM ══ */
.form-table {
    width: 100%;
    max-width: 500px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    .form-table td {
        vertical-align: middle;
    }

    .form-table .lbl {
        width: 140px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text);
        padding-right: 14px;
        white-space: nowrap;
    }

        .form-table .lbl .sub {
            font-size: 11px;
            color: var(--dim);
            font-weight: 400;
            display: block;
        }

    .form-table .sep-row td {
        text-align: center;
        padding: 4px 0;
        font-size: 12px;
        color: var(--muted);
        font-weight: 700;
    }

.inp {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font: 13px 'Open Sans', sans-serif;
    color: var(--text);
    background: #fff;
    transition: .18s;
}

    .inp:focus {
        outline: none;
        border-color: var(--blue-dark);
        box-shadow: 0 0 0 3px rgba(26,124,168,.12);
    }

    .inp.mono {
        /*font-family: 'Courier New', monospace;*/
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 700;
    }

    .inp.err {
        border-color: var(--err);
    }

.inp-hint {
    font-size: 11px;
    color: var(--dim);
    margin-top: 3px;
}

/* ══ PLAYER CARD ══ */
.player-card {
    background: linear-gradient(135deg, #e8f4fb 0%, #d4ecf7 100%);
    border: 1px solid var(--info-brd);
    border-radius: var(--r);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.player-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue-dark);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-info .name {
    font-size: 15px;
    font-weight: 800;
    color: var(--blue-dark);
}

.player-info .username {
    font-size: 12px;
    color: var(--blue-dark);
    font-weight: 600;
    margin-top: 1px;
}

.player-info .cf-small {
    /*font-family: 'Courier New', monospace;*/
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.player-badge {
    margin-left: auto;
    background: var(--ok-bg);
    border: 1px solid var(--ok-brd);
    color: var(--ok);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}

/* ══ CHIPS ══ */
.chips {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonne fisse */
    gap: 8px; /* spazio uniforme */
    width: 100%;
}

.chip {
    padding: 10px 0;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 4px;
    font: 600 14px 'Open Sans', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: .15s;
    width: 100%; /* fondamentale */
}

    .chip:hover {
        border-color: var(--blue-dark);
        color: var(--blue-dark);
        background: var(--info-bg);
    }

    .chip.sel {
        background: var(--blue-dark);
        border-color: var(--blue-dark);
        color: #fff;
        font-weight: 700;
    }

@media (max-width: 480px) {
    .chips {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ══ DATA GRID ══ */
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.data-cell {
    background: #f5f8fa;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 9px 12px;
}

    .data-cell .lbl {
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .4px;
        color: var(--muted);
        margin-bottom: 3px;
    }

    .data-cell .val {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--blue-dark);
    }

        .data-cell .val.mono {
            /*font-family: 'Courier New', monospace;*/
            font-size: 12px;
            letter-spacing: .5px;
        }

    .data-cell.full {
        grid-column: 1 / -1;
    }

    .data-cell.hi {
        border-color: var(--info-brd);
        background: var(--info-bg);
    }

/* amount display */
.amt-row {
    background: #f0f9ff;
    border: 1px solid var(--info-brd);
    border-radius: 4px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .amt-row .lbl {
        font-size: 13px;
        font-weight: 600;
        color: var(--muted);
    }

    .amt-row .val {
        font-size: 22px;
        font-weight: 800;
        color: var(--blue-dark);
    }

/* ══ CHECKBOX ══ */
.check-row {
    background: var(--warn-bg);
    border: 2px solid var(--warn-brd);
    border-radius: var(--r);
    padding: 13px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: .18s;
    margin-bottom: 18px;
    user-select: none;
}

    .check-row:hover {
        background: #fff8d0;
        border-color: #e6a817;
    }

    .check-row.checked {
        background: var(--ok-bg);
        border-color: var(--ok-brd);
    }

    .check-row input[type=checkbox] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-top: 1px;
        accent-color: var(--ok);
        cursor: pointer;
    }

.check-text .mt {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.check-text small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
    line-height: 1.45;
}

/* ══ RECAP TABLE ══ */
.recap-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

    .recap-table tr:not(:last-child) td {
        border-bottom: 1px solid var(--border);
    }

    .recap-table td {
        padding: 10px 14px;
        font-size: 13.5px;
    }

    .recap-table .rl {
        color: var(--muted);
        font-weight: 600;
        width: 180px;
    }

    .recap-table .rv {
        font-weight: 700;
        color: var(--blue-dark);
    }

        .recap-table .rv.big {
            font-size: 20px;
            color: var(--blue-dark);
        }

        .recap-table .rv.mono {
            /*font-family: 'Courier New', monospace;*/
            font-size: 12.5px;
        }

    .recap-table tr {
        background: #fff;
    }

        .recap-table tr:nth-child(even) {
            background: #f7fafb;
        }

/* ══ VOUCHER ══ */
.success-wrap {
    text-align: center;
    padding: 10px 0 18px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ok);
    color: #fff;
    font-size: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 20px rgba(33,122,60,.3);
    animation: popIn .45s cubic-bezier(.34,1.56,.64,1);
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ok);
    margin-bottom: 4px;
}

.success-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 22px;
}

/* VOUCHER TICKET */
.voucher {
    max-width: 460px;
    margin: 0 auto 20px;
    border: 1px solid #c8d8e0;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh);
    font-family: 'Open Sans', sans-serif;
    background: #fff;
}

.v-head {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-dark));
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v-brand {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.3px;
}

    .v-brand span {
        color: var(--gold);
    }

    .v-brand img {
        height: 26px;
        display: block;
    }

.v-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.15);
    padding: 3px 9px;
    border-radius: 3px;
}

.v-gold-bar {
    background: var(--gold);
    height: 4px;
}

.v-amount-row {
    background: var(--blue-dark);
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .v-amount-row .lbl {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .4px;
        color: rgba(255,255,255,.75);
    }

    .v-amount-row .big {
        font-size: 32px;
        font-weight: 900;
        color: var(--gold);
    }

.v-body {
    padding: 14px 20px;
}

.v-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #dde6ed;
    font-size: 12.5px;
}

    .v-row:last-child {
        border: none;
    }

    .v-row .vl {
        color: var(--muted);
        font-weight: 600;
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

    .v-row .vv {
        font-weight: 700;
        color: var(--blue-dark);
    }

        .v-row .vv.mono {
            /*font-family: 'Courier New', monospace;*/
            font-size: 11px;
            letter-spacing: .4px;
        }

.v-code-box {
    background: #f0f7fb;
    border: 1px solid var(--info-brd);
    border-radius: 4px;
    padding: 9px 14px;
    text-align: center;
    margin: 10px 0;
}

    .v-code-box .cl {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: var(--muted);
        margin-bottom: 4px;
    }

    .v-code-box .cv {
        /*font-family: 'Courier New', monospace;*/
        font-size: 18px;
        font-weight: 700;
        color: var(--blue-dark);
        letter-spacing: 2px;
    }

/* Barcode decoration */
.barcode {
    height: 36px;
    background: repeating-linear-gradient( 90deg, #1a3a50 0, #1a3a50 2px, transparent 2px, transparent 5px, #1a3a50 5px, #1a3a50 6px, transparent 6px, transparent 10px, #1a3a50 10px, #1a3a50 13px, transparent 13px, transparent 16px, #1a3a50 16px, #1a3a50 17px, transparent 17px, transparent 21px, #1a3a50 21px, #1a3a50 24px, transparent 24px, transparent 26px );
    border-radius: 2px;
    margin: 8px 0 3px;
    opacity: .75;
}

.v-foot {
    background: #f5f8fa;
    border-top: 1px dashed #dde6ed;
    padding: 9px 20px;
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}

/* perf edge */
.perf {
    background: radial-gradient(circle at 50% 50%, #fff 6px, transparent 6px) repeat-x, var(--blue-dark);
    background-size: 22px 14px;
    height: 14px;
}

    .perf.white {
        background: radial-gradient(circle at 50% 50%, var(--bg) 6px, transparent 6px) repeat-x, #fff;
        background-size: 22px 14px;
    }

/* no-list */
.no-list {
    max-width: 460px;
    margin: 0 auto 16px;
    background: var(--ok-bg);
    border: 1px solid var(--ok-brd);
    border-radius: var(--r);
    padding: 12px 16px;
}

    .no-list .t {
        font-size: 11.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .4px;
        color: var(--ok);
        margin-bottom: 8px;
    }

    .no-list li {
        font-size: 12.5px;
        color: #1e6e35;
        list-style: none;
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 3px 0;
    }

        .no-list li::before {
            content: '✓';
            font-weight: 900;
            color: var(--ok);
        }

/* ══ SPINNER ══ */
.spinner-wrap {
    text-align: center;
    padding: 40px;
    display: none;
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(26,124,168,.15);
    border-top-color: var(--blue-dark);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-wrap p {
    font-size: 13px;
    color: var(--muted);
}

/* ══ WIZARD FOOTER ══ */
.msg-wiz-foot {
    background: #f5f8fa;
    border-top: 1px solid var(--border);
    padding: 14px 24px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.wiz-foot {
    background: #f5f8fa;
    border-top: 1px solid var(--border);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* ══ BUTTONS ══ */

.btn-back {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--muted);
}

    .btn-back:hover {
        background: var(--bg);
        color: var(--text);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-dark) 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(26,124,168,.3);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(26,124,168,.4);
    transform: translateY(-1px);   
}

.btn-primary:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-confirm {
    background: linear-gradient(135deg, #1e8535, var(--ok));
    color: #fff;
    box-shadow: 0 2px 6px rgba(33,122,60,.3);
}

    .btn-confirm:hover:not(:disabled) {
        box-shadow: 0 4px 12px rgba(33,122,60,.4);
        transform: translateY(-1px);
    }

    .btn-confirm:disabled {
        opacity: .4;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.btn-print {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
}

    .btn-print:hover {
        background: var(--bg);
    }

/* ══ FOOTER (page) ══ */
.page-footer {
    background: var(--blue-mid);
    height: 40px;
    margin-top: 60px;
}

/* responsive */
@media (max-width: 640px) {
    .step-label {
        display: none;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .data-cell.full {
        grid-column: 1;
    }

    .step-body {
        padding: 18px 16px;
    }

    .wiz-foot {
        padding: 12px 16px;
    }

    .topbar-info .hide-sm {
        display: none;
    }
}

.msg-row {
    background: var(--warn-bg);
    border: 2px solid var(--warn-brd);
    border-radius: var(--r);
    padding: 13px 16px;
    display: flex;
    flex-direction: column; /* importante se vuoi centrare testo su più righe */
    align-items: center; /* centra gli elementi figli */
    text-align: center; /* centra il testo */
    gap: 12px;
    cursor: pointer;
    transition: .18s;
    user-select: none;
}

/* Area notifiche toast */
.toast-area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Toast base */
.toast-msg {
    min-width: 260px;
    max-width: 340px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateX(40px);
    transition: all .6s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Stati */
.toast-success {
    background: var(--ok);
}

.toast-info {
    background: var(--info-bg);
    color: var(--info-txt);
    border: 1px solid var(--info-brd);
}

.toast-warning {
    background: var(--warn-bg);
    color: #7a5500;
    border: 1px solid var(--warn-brd);
}

.toast-error {
    background: var(--err);
}

/* Animazioni */
.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-hide {
    opacity: 0;
    transform: translateX(40px);
}

.datepick {
    width: 150px;
}


.wizard-card .card {
    width: auto; /* si adatta al contenitore */
    margin: 0; /* rimuove il centering e lo spazio verticale eccessivo */
    background: var(--card); /* colore card dal tema */
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh2); /* ombra più delicata, coerente col tema */
    padding: 16px 18px;
    text-align: center; /* allinea i testi come il resto della pagina */
    color: var(--text);
    font-family: inherit; /* eredita il font della pagina (Open Sans / Segoe UI) */
}
    
    .wizard-card .card h3 {
        color: var(--blue-dark);
        font-size: 16px;
        font-weight: 800;
        margin: 0 0 8px 0;
    }
    
    .wizard-card .card .circle {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        border: 6px solid var(--blue-dark);
        margin: 12px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: var(--blue-dark);
    }
    
    .wizard-card .card .small {
        color: var(--muted);
        font-size: 13px;
        margin-top: 6px;
    }
   
    .wizard-card .card p {
        margin-top: 8px;
        margin-bottom: 6px;
    }