@import '_content/Toolbelt.Blazor.PWA.Updater/Toolbelt.Blazor.PWA.Updater.bnjuj6nd91.bundle.scp.css';

/* /Components/Dropdown_Arf.razor.rz.scp.css */
.gp-dropdown-container[b-bcvb9ky8a2] {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

/* Classe di default - usata se ButtonClass non viene sovrascritta con stili che cambiano layout */
.gp-dropdown-btn[b-bcvb9ky8a2] {
    background-color: #0b3d91;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(11, 61, 145, 0.1);
    z-index: 102;
    position: relative;
}

    .gp-dropdown-btn:hover[b-bcvb9ky8a2] {
        background-color: #1e4eb8;
        transform: translateY(-1px);
    }

.gp-arrow[b-bcvb9ky8a2] {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.gp-dropdown-container.active .gp-arrow[b-bcvb9ky8a2] {
    transform: rotate(180deg);
}

.gp-dropdown-content[b-bcvb9ky8a2] {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.15);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    z-index: 101;
    overflow: hidden;
    animation: slideIn-b-bcvb9ky8a2 0.2s ease-out;
}

.gp-dropdown-item[b-bcvb9ky8a2] {
    color: #0f172a;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: 600;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .gp-dropdown-item:hover[b-bcvb9ky8a2] {
        background-color: #f1f5f9;
        color: #0b3d91;
    }

.gp-dropdown-overlay[b-bcvb9ky8a2] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 100;
}

@keyframes slideIn-b-bcvb9ky8a2 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/generaqr.razor.rz.scp.css */
.qr-generator-container[b-rese85e4gp] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-box[b-rese85e4gp] {
    padding: 1rem;
    background-color: #ffffff;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
}

.qr-text[b-rese85e4gp] {
    font-size: 0.875rem;
    color: #9ca3af; /* Un grigio chiaro (tipo Silver/Zinc) che si legge bene sul nero */
    font-weight: 500;
    margin-top: 0.75rem;
    text-align: center;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qr-name[b-rese85e4gp] {
    font-weight: 700;
    color: #ffffff; /* Bianco puro per il nome, massimo contrasto */
}

.qr-ticket-type[b-rese85e4gp] {
    font-size: 0.8rem;
    color: white;
    font-weight: bold;
}
/* /Components/InputCamp.razor.rz.scp.css */
/* 1. Il Contenitore (Agisce come se fosse l'input) */
.input-container[b-zui0ugsbuq] {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden; /* Fondamentale: fa sì che il simbolo segua i bordi arrotondati */
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

    /* MAGIA CSS: Quando l'input dentro riceve il focus, si illumina tutto il div esterno */
    .input-container:focus-within[b-zui0ugsbuq] {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    /* 2. Il Simbolo (es. €, %) */
    .input-container span[b-zui0ugsbuq] {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8fafc;
        color: #64748b;
        padding: 0 14px;
        height: 40px;
        border-right: 1px solid #e2e8f0;
        font-size: 14px;
        font-weight: 600;
        user-select: none;
    }

    /* 3. La Select del Prefisso Telefonico (Nuova) */
    .input-container select.prefix-select[b-zui0ugsbuq] {
        display: flex;
        align-items: center;
        background-color: #f8fafc; /* Stesso sfondo del simbolo */
        color: #1e293b; /* Testo un po' più scuro perché interagibile */
        height: 40px;
        border: none;
        border-right: 1px solid #e2e8f0; /* Separa la select dall'input numerico */
        font-size: 14px;
        font-weight: 500;
        outline: none;
        cursor: pointer;
        font-family: inherit;
        /* Resetta l'aspetto nativo del browser */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        /* Freccina custom in SVG per un look più moderno e coerente */
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-position: right 10px top 50%;
        background-size: 10px auto;
        /* Padding aggiustato per fare spazio alla freccia */
        padding: 0 28px 0 12px;
        transition: background-color 0.2s;
    }

        .input-container select.prefix-select:hover[b-zui0ugsbuq],
        .input-container select.prefix-select:focus[b-zui0ugsbuq] {
            background-color: #f1f5f9; /* Leggero feedback visivo all'interazione */
        }

    /* 4. L'Input vero e proprio */
    .input-container input[b-zui0ugsbuq] {
        flex: 1; /* Prende tutto lo spazio rimanente */
        border: none; /* Togliamo il bordo, lo gestisce il container! */
        padding: 0 12px;
        height: 40px;
        font-size: 14px;
        color: #1e293b;
        background: transparent;
        outline: none; /* Rimuoviamo il glow nativo del browser */
        width: 100%;
        box-sizing: border-box;
        font-family: inherit;
    }

        .input-container input[b-zui0ugsbuq]::placeholder {
            color: #94a3b8;
        }

        /* 5. Nascondere le frecce native dei numeri */
        .input-container input[b-zui0ugsbuq]::-webkit-outer-spin-button,
        .input-container input[b-zui0ugsbuq]::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .input-container input[type="number"][b-zui0ugsbuq] {
            -moz-appearance: textfield;
            appearance: textfield;
        }
/* /Components/LoadingModal.razor.rz.scp.css */
/* --- MODALE CARICAMENTO CON INGRANAGGIO (DARK MODE) --- */

.utg-modal-overlay[b-qh84q9v4xg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Sfondo scuro per dare risalto al modale */
    backdrop-filter: blur(8px); /* Effetto sfocato coerente con il resto dell'app */
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

@keyframes modalFadeIn-b-qh84q9v4xg {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.utg-loading-box[b-qh84q9v4xg] {
    background-color: #1a1a1a; /* Box scuro */
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8); /* Ombra profonda adatta al tema dark */
    border: 1px solid rgba(101, 163, 13, 0.3); /* Bordino in Verde Patù trasparente */
    width: 100%;
    max-width: 320px;
    padding: 32px 24px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    animation: modalFadeIn-b-qh84q9v4xg 0.3s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #f8f9fa; /* Testo chiaro di base */
}

/* --- ANIMAZIONE RUOTA DENTATA --- */
.utg-gear-spinner[b-qh84q9v4xg] {
    width: 56px;
    height: 56px;
    color: #65a30d; /* Ingranaggio verde primario */
    animation: spinGear-b-qh84q9v4xg 2.5s linear infinite;
    margin-bottom: 20px;
}

@keyframes spinGear-b-qh84q9v4xg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tipografia */
.utg-loading-text[b-qh84q9v4xg] {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #f8f9fa; /* Bianco per il titolo */
}

.utg-loading-subtext[b-qh84q9v4xg] {
    margin: 0;
    font-size: 13px;
    color: #a1a1aa; /* Grigio soft (muted) per il sottotitolo */
    line-height: 1.4;
}
/* /Components/Resoconto.razor.rz.scp.css */
/* --- TEMA LIGHT MODE --- */

.resoconto-container[b-la410tgqsy] {
    /* VARIABILI TEMA CHIARO */
    --bg-main: #f9fafb; /* Sfondo pagina grigio chiarissimo */
    --bg-surface: #ffffff; /* Sfondo elementi bianco */
    --bg-card: #ffffff; /* Sfondo card bianco */
    --pr-primary: #65a30d; /* Verde primario (mantenuto per coerenza brand) */
    --pr-primary-hover: #4d7c0f;
    --text-main: #1f2937; /* Testo scuro scuro */
    --text-muted: #6b7280; /* Testo grigio medio */
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: var(--bg-main);
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
}

.resoconto-card[b-la410tgqsy] {
    width: 100%;
    height: fit-content;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Ombra ammorbidita per tema chiaro */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Bordo leggerissimo */
    display: flex;
    flex-direction: column;
}

.resoconto-header[b-la410tgqsy] {
    background: #f3f4f6; /* Grigio chiaro per l'header */
    color: var(--pr-primary);
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-header[b-la410tgqsy] {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.resoconto-header h4[b-la410tgqsy] {
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
}

.resoconto-body[b-la410tgqsy] {
    padding: 20px;
}

/* Form Fields */
.input-group-custom[b-la410tgqsy] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.field[b-la410tgqsy] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .field label[b-la410tgqsy] {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
    }

.custom-select[b-la410tgqsy], .custom-input[b-la410tgqsy] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db; /* Bordo visibile grigio chiaro */
    font-size: 1rem;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--bg-surface);
    color: var(--text-main);
}

    .custom-select:focus[b-la410tgqsy], .custom-input:focus[b-la410tgqsy] {
        border-color: var(--pr-primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.2);
    }

.divider[b-la410tgqsy] {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #e5e7eb; /* Divisorio grigio chiaro */
}

/* Stats Display */
.stats-grid[b-la410tgqsy] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-item[b-la410tgqsy] {
    background: var(--bg-surface);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

    .stat-item label[b-la410tgqsy] {
        display: block;
        font-size: 0.65rem;
        color: var(--text-muted);
        font-weight: bold;
    }

    .stat-item p[b-la410tgqsy] {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-main);
    }

    .stat-item.omaggio p[b-la410tgqsy] {
        color: #ef4444; /* Rosso vibrante */
    }

.total-box[b-la410tgqsy] {
    background: #f7fee7; /* Verdino chiaro per tema light */
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ecfccb;
}

    .total-box label[b-la410tgqsy] {
        font-size: 0.75rem;
        font-weight: bold;
        color: #4d7c0f; /* Verde scuro text */
    }

    .total-box .value[b-la410tgqsy] {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--pr-primary);
    }

.info-placeholder[b-la410tgqsy] {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-style: italic;
}

    .info-placeholder i[b-la410tgqsy] {
        font-size: 2rem;
        margin-bottom: 10px;
        display: block;
        color: #cbd5e1;
    }

/* Footer & Button */
.resoconto-footer[b-la410tgqsy] {
    padding: 20px;
    background-color: var(--bg-card);
    border-top: 1px solid #f3f4f6;
    border-radius: 0 0 15px 15px;
}

.btn-main[b-la410tgqsy] {
    width: 100%;
    padding: 15px;
    background: var(--pr-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.1s, background 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    text-transform: uppercase;
}

    .btn-main:hover:not(.disabled)[b-la410tgqsy] {
        background: var(--pr-primary-hover);
        box-shadow: 0 4px 15px rgba(101, 163, 13, 0.3);
    }

    .btn-main:active:not(.disabled)[b-la410tgqsy] {
        transform: scale(0.98);
    }

    .btn-main.disabled[b-la410tgqsy] {
        background: #e5e7eb; /* Grigio disabilitato per tema chiaro */
        color: #9ca3af;
        cursor: not-allowed;
        box-shadow: none;
    }

.error-banner[b-la410tgqsy] {
    background: #fef2f2;
    color: #ef4444;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    border: 1px solid #fee2e2;
}

.spinner[b-la410tgqsy] {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(0, 0, 0, 0.1); /* Spinner scuro su chiaro */
    border-top: 3px solid var(--pr-primary);
    border-radius: 50%;
    animation: spin-b-la410tgqsy 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin-b-la410tgqsy {
    to {
        transform: rotate(360deg);
    }
}

.stats-grid-generale[b-la410tgqsy] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* FIX ANTEPRIMA SCONTRINO CON CLASSI SC- (Versione Light) */
.sc-scontrino-preview-container[b-la410tgqsy] {
    background-color: var(--bg-surface);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.sc-scontrino-label[b-la410tgqsy] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .sc-scontrino-label i[b-la410tgqsy] {
        font-size: 1.1rem;
        color: var(--text-muted);
    }

.sc-scontrino-box[b-la410tgqsy] {
    background-color: #f8f9fa; /* Sfondo tipico da "carta di scontrino" */
    border: 1px dashed #9ca3af; /* Bordo tratteggiato visibile */
    padding: 15px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-main);
    white-space: pre;
    overflow-x: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); /* Ombra interna leggera */
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

    /* Scrollbar personalizzata per lo scontrino nel tema chiaro */
    .sc-scontrino-box[b-la410tgqsy]::-webkit-scrollbar {
        height: 8px;
    }

    .sc-scontrino-box[b-la410tgqsy]::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .sc-scontrino-box[b-la410tgqsy]::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

        .sc-scontrino-box[b-la410tgqsy]::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

.sc-btn-secondary[b-la410tgqsy] {
    width: 100%;
    background-color: transparent;
    color: #4b5563; /* Grigio scuro per miglior contrasto */
    border: 1px solid #d1d5db;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}

    .sc-btn-secondary:hover[b-la410tgqsy] {
        background-color: #f3f4f6;
        color: var(--text-main);
    }

.btn-main.sc-elabora[b-la410tgqsy] {
    background-color: var(--pr-primary);
    color: white;
}

    .btn-main.sc-elabora:hover:not(.disabled)[b-la410tgqsy] {
        background-color: var(--pr-primary-hover);
    }

.sc-d-flex-column[b-la410tgqsy] {
    display: flex;
    flex-direction: column;
    gap: 10px !important;
}

.sc-info-box-success[b-la410tgqsy] {
    background-color: #f7fee7; /* Verde chiarissimo compatibile col brand */
    border: 1px solid #ecfccb;
    color: #4d7c0f; /* Verde testo scuro */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

    .sc-info-box-success i[b-la410tgqsy] {
        font-size: 2rem;
        color: var(--pr-primary);
    }

    .sc-info-box-success p[b-la410tgqsy] {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 500;
    }
/* /Components/VisualizzatoreBiglietto.razor.rz.scp.css */
/* Stili adattati per il tema DARK PATÛ */
.ticket-card[b-c428bfkn9q] {
    width: 100%;
    max-width: 400px;
    margin: auto;
    background: #1a1a1a; /* Corrisponde a --bg-card */
    border: 1px solid #333333;
    border-radius: 15px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f8f9fa; /* Testo chiaro principale */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ticket-header[b-c428bfkn9q] {
    background: #65a30d; /* Verde primario PATÛ */
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

    .ticket-header h4[b-c428bfkn9q] {
        margin: 0;
        letter-spacing: 2px;
        font-family: 'Playfair Display', serif; /* Font titoli del tuo sito */
        text-transform: uppercase;
        font-weight: 700;
    }

.event-name[b-c428bfkn9q] {
    font-weight: bold;
    margin-top: 5px;
    font-size: 1.2rem;
}

.ticket-body[b-c428bfkn9q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border-bottom: 2px dashed #333333; /* Linea di strappo scura */
    position: relative;
}

    /* Effetto cerchietti laterali per la linea di strappo */
    .ticket-body[b-c428bfkn9q]::before, .ticket-body[b-c428bfkn9q]::after {
        content: '';
        position: absolute;
        bottom: -10px;
        width: 20px;
        height: 20px;
        background: #0a0a0a; /* Colore dello sfondo della pagina per "bucare" il biglietto */
        border-radius: 50%;
    }

    .ticket-body[b-c428bfkn9q]::before {
        left: -10px;
    }

    .ticket-body[b-c428bfkn9q]::after {
        right: -10px;
    }

.info-section[b-c428bfkn9q] {
    width: 100%;
    margin-bottom: 20px;
}

.info-group[b-c428bfkn9q] {
    margin-bottom: 12px;
    text-align: left;
}

    .info-group label[b-c428bfkn9q] {
        font-size: 0.75rem;
        color: #a1a1aa; /* Testo muted */
        text-transform: uppercase;
        display: block;
        letter-spacing: 1px;
    }

    .info-group p[b-c428bfkn9q] {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        color: #f8f9fa;
    }

.ticket-type[b-c428bfkn9q] {
    color: #65a30d !important; /* Colore accento verde */
}

.qr-section[b-c428bfkn9q] {
    background: #1a1a1a; /* Sfondo bianco per il QR (necessario per la scansione) */
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 10px;
}

.ticket-footer[b-c428bfkn9q] {
    padding: 15px;
    background: #121212; /* Superficie leggermente più chiara del fondo */
    text-align: center;
    font-size: 0.75rem;
    color: #71717a; /* Testo molto discreto */
}

/* Nascondi elementi inutili durante la stampa */
@media print {
    .btn[b-c428bfkn9q], .no-print[b-c428bfkn9q] {
        display: none !important;
    }

    .ticket-card[b-c428bfkn9q] {
        box-shadow: none;
        border: 1px solid #000;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* --- SEZIONE MESSAGGI (es. Nessuna Connessione / Offline) --- */
.nc-wrapper[b-0qv10vyi30] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #0a0a0a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.nc-message-card[b-0qv10vyi30] {
    text-align: center;
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 5px solid #65a30d;
}

.nc-icon[b-0qv10vyi30] {
    font-size: 48px;
    margin-bottom: 15px;
    color: #f8f9fa;
}

.nc-title[b-0qv10vyi30] {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #f8f9fa;
}

.nc-text[b-0qv10vyi30] {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    color: #a1a1aa;
}

.nc-highlight[b-0qv10vyi30] {
    color: #65a30d;
    font-weight: bold;
}

/* --- IMPOSTAZIONI BASE & COMPONENTI ANT DESIGN --- */
body[b-0qv10vyi30] {
    min-width: 300px;
    min-height: 100%;
    background-color: #0a0a0a;
}

.site-layout .site-layout-background[b-0qv10vyi30] {
    background: #121212;
}

/* --- HEADER SUPERIORE PERSONALIZZATO --- */
.pr-top-header[b-0qv10vyi30] {
    background-color: #0a0a0a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.pr-header-right[b-0qv10vyi30] {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 10px;
}

/* --- STILE TASTO ACCEDI --- */
.pr-btn-accedi[b-0qv10vyi30] {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #65a30d;
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(101, 163, 13, 0.2);
    width: 101px;
    height: 40px;
    margin: 5px 10px 5px 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

    .pr-btn-accedi:hover[b-0qv10vyi30] {
        background-color: #4d7c0f;
        box-shadow: 0 6px 8px -1px rgba(101, 163, 13, 0.3);
        transform: translateY(-2px);
    }

    .pr-btn-accedi:active[b-0qv10vyi30] {
        transform: translateY(0);
        box-shadow: 0 2px 4px -1px rgba(101, 163, 13, 0.2);
    }

    .pr-btn-accedi:disabled[b-0qv10vyi30] {
        opacity: 0.7;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

/* --- NUOVO HEADER LEFT PATù (nhpr) --- */
.nhpr-header-left[b-0qv10vyi30] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px;
    height: 60px;
}

    .nhpr-header-left[b-0qv10vyi30]::-webkit-scrollbar {
        display: none;
    }

/* Stile Logo */
.nhpr-logo[b-0qv10vyi30] {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8f9fa;
    text-decoration: none;
    letter-spacing: 2px;
    flex-shrink: 0;
    height: 50px;
    overflow: hidden;
    padding-right: 10px;
}

    .nhpr-logo span[b-0qv10vyi30] {
        color: #65a30d;
    }

/* Gruppo dei tasti */
.nhpr-nav-group[b-0qv10vyi30] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bottone Singolo (Emoji o Testo) */
.nhpr-nav-btn[b-0qv10vyi30] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
    flex-shrink: 0;
    padding: 0 10px;
}

/* Testo a 2 lettere */
.nhpr-nav-text[b-0qv10vyi30] {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Emoji con filtro bianco e nero */
.nhpr-nav-emoji[b-0qv10vyi30] {
    font-size: 20px;
    line-height: 1;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s;
}

/* Effetto Hover */
.nhpr-nav-btn:hover[b-0qv10vyi30] {
    background-color: rgba(101, 163, 13, 0.15);
    border-color: #65a30d;
    color: #65a30d;
    /*background-color: rgba(101, 163, 13, 0.1);
    border-color: rgba(101, 163, 13, 0.3);
    color: #65a30d;*/
}

    .nhpr-nav-btn:hover .nhpr-nav-emoji[b-0qv10vyi30] {
        filter: grayscale(0%);
        opacity: 1;
        /*filter: grayscale(0%);
        opacity: 1;*/
    }

/* Stato Attivo (Pagina Corrente) */
.nhpr-nav-btn.active[b-0qv10vyi30] {
    background-color: rgba(101, 163, 13, 0.15);
    border-color: #65a30d;
    color: #65a30d;
}

    .nhpr-nav-btn.active .nhpr-nav-emoji[b-0qv10vyi30] {
        filter: grayscale(0%);
        opacity: 1;
    }
/* /Pages/GestioneEventi.razor.rz.scp.css */
/* GestioneEventi.razor.css */

/* --- Layout Base --- */
.pr-wrapper[b-a45mp2huhs] {
    background-color: #f9fafb;
    min-height: 100vh;
    padding-bottom: 3rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pr-container[b-a45mp2huhs] {
    max-width: 1024px; /* Ottimizzato per tabelle dashboard */
    margin: 0 auto;
    padding: 2rem 1rem;
}

.pr-page-title[b-a45mp2huhs] {
    text-align: center;
    color: #111827; /* Testo scuro, stile dashboard pulita */
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

    .pr-page-title[b-a45mp2huhs]::after {
        content: '';
        display: block;
        width: 3rem;
        height: 4px;
        background-color: #65a30d;
        margin: 0.5rem auto 0;
        border-radius: 2px;
    }

/* --- Cards (Stile GestionPR) --- */
.pr-card[b-a45mp2huhs] {
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6; /* Bordo super leggero */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.pr-card-form[b-a45mp2huhs], .pr-card-form-secondary[b-a45mp2huhs] {
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pr-card-header[b-a45mp2huhs] {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}

    /* Reset per eliminare gli sfondi pesanti del precedente tentativo */
    .pr-card-header.primary[b-a45mp2huhs], .pr-card-header.secondary[b-a45mp2huhs] {
        background-color: #ffffff;
        color: #111827;
    }

    .pr-card-header h5[b-a45mp2huhs] {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 700;
        color: #111827;
    }

.pr-card-body[b-a45mp2huhs] {
    padding: 1.5rem;
}

/* --- Tables (Stile GestionPR Moderno) --- */
.pr-table-wrapper[b-a45mp2huhs] {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    margin: -1.5rem; /* Fa "sfondare" la tabella ai bordi della card se lo si desidera, o la allinea perfettamente */
    width: calc(100% + 3rem);
}

.pr-table[b-a45mp2huhs] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

    .pr-table th[b-a45mp2huhs] {
        background-color: #f9fafb;
        color: #6b7280;
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase; /* Effetto dashboard pro */
        letter-spacing: 0.05em;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .pr-table td[b-a45mp2huhs] {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f3f4f6;
        color: #374151;
        vertical-align: middle;
    }

    .pr-table tbody tr:hover[b-a45mp2huhs] {
        background-color: #f9fafb; /* Hover molto più tenue */
    }

.pr-text-end[b-a45mp2huhs] {
    text-align: right;
}

/* --- Badges --- */
.pr-badge[b-a45mp2huhs] {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pr-badge-warning[b-a45mp2huhs] {
    background-color: #fef08a;
    color: #854d0e;
}

.pr-badge-neutral[b-a45mp2huhs] {
    background-color: #f3f4f6;
    color: #4b5563;
}

.pr-badge-dark[b-a45mp2huhs] {
    background-color: #f3f4f6; /* Sostituito il nero con un grigio tenue per non stonare */
    color: #374151;
    border: 1px solid #e5e7eb;
}

/* --- Forms (Griglia su 12 Colonne) --- */
.pr-form-grid[b-a45mp2huhs] {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.pr-col-12[b-a45mp2huhs] {
    grid-column: span 12;
}

.pr-col-6[b-a45mp2huhs] {
    grid-column: span 6;
}

.pr-col-5[b-a45mp2huhs] {
    grid-column: span 5;
}

.pr-col-4[b-a45mp2huhs] {
    grid-column: span 4;
}

.pr-col-3[b-a45mp2huhs] {
    grid-column: span 3;
}

.pr-form-group[b-a45mp2huhs] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pr-label[b-a45mp2huhs] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.pr-input[b-a45mp2huhs] {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #111827;
    transition: all 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Ombreggiatura leggera sull'input */
}

    .pr-input:focus[b-a45mp2huhs] {
        outline: none;
        border-color: #65a30d;
        box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
    }

    .pr-input:disabled[b-a45mp2huhs], .pr-input[readonly][b-a45mp2huhs] {
        background-color: #f9fafb;
        color: #9ca3af;
        cursor: not-allowed;
        border-color: #e5e7eb;
        box-shadow: none;
    }

textarea.pr-input[b-a45mp2huhs] {
    resize: vertical;
    min-height: 80px;
}

.pr-input-hint[b-a45mp2huhs] {
    font-size: 14px;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* --- Immagine Upload --- */
.pr-image-upload-wrapper[b-a45mp2huhs] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.pr-image-preview[b-a45mp2huhs] {
    width: 100px;
    height: 100px;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

    .pr-image-preview:hover[b-a45mp2huhs] {
        border-color: #65a30d;
    }

    .pr-image-preview img[b-a45mp2huhs] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.pr-upload-controls[b-a45mp2huhs] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pr-hidden-input[b-a45mp2huhs] {
    display: none;
}

/* --- Buttons --- */
.pr-btn[b-a45mp2huhs] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #65a30d;
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

    .pr-btn:hover:not(:disabled)[b-a45mp2huhs] {
        background-color: #4d7c0f;
    }

.pr-btn-sm[b-a45mp2huhs] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

/* Stile neutro coerente con GestionPR */
.pr-btn-light[b-a45mp2huhs] {
    background-color: #ffffff;
    color: #374151;
    border-color: #d1d5db;
}

    .pr-btn-light:hover:not(:disabled)[b-a45mp2huhs] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

.pr-btn-neutral[b-a45mp2huhs] {
    background-color: #ffffff;
    color: #374151;
    border-color: #d1d5db;
}

    .pr-btn-neutral:hover:not(:disabled)[b-a45mp2huhs] {
        background-color: #f9fafb;
        color: #111827;
    }

.pr-btn-outline[b-a45mp2huhs] {
    background-color: #ffffff;
    color: #374151;
    border-color: #d1d5db;
}

    .pr-btn-outline:hover:not(:disabled)[b-a45mp2huhs] {
        border-color: #9ca3af;
        color: #111827;
    }


.pr-btn-outline-danger[b-a45mp2huhs] {
    background-color: #ffffff;
    color: #ef4444;
    border-color: #fca5a5;
}

    .pr-btn-outline-danger:hover:not(:disabled)[b-a45mp2huhs] {
        background-color: #fef2f2;
        border-color: #ef4444;
    }

.pr-btn:disabled[b-a45mp2huhs] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Barra delle Azioni (Footer del Form) */
.pr-actions-bar[b-a45mp2huhs] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    background-color: #f9fafb; /* Sfondo leggermente grigio per separarlo dal form */
    margin: 2rem -1.5rem -1.5rem -1.5rem; /* Esce dai bordi del body per fare la fascia piena */
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* --- Alerts & Spinners --- */
.pr-alert[b-a45mp2huhs] {
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.pr-alert-error[b-a45mp2huhs] {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.pr-alert-success[b-a45mp2huhs] {
    background-color: #f7fee7;
    color: #4d7c0f;
    border: 1px solid #ecfccb;
}

.pr-btn-close[b-a45mp2huhs] {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0.25rem;
    opacity: 0.7;
}

    .pr-btn-close:hover[b-a45mp2huhs] {
        opacity: 1;
    }

.pr-spinner[b-a45mp2huhs] {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #65a30d;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.pr-spinner-sm[b-a45mp2huhs] {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    margin-right: 0.5rem;
    border-top-color: #ffffff;
    border-right-color: rgba(255,255,255,0.3);
    border-bottom-color: rgba(255,255,255,0.3);
    border-left-color: rgba(255,255,255,0.3);
    display: inline-block;
}

.pr-empty-state[b-a45mp2huhs] {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* =========================================================
   REGOLE MOBILE (Responsive Design per Smartphone/Tablet)
   ========================================================= */
@media (max-width: 768px) {
    .pr-container[b-a45mp2huhs] {
        padding: 1rem 0.5rem;
    }

    .pr-page-title[b-a45mp2huhs] {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .pr-card-header[b-a45mp2huhs] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }

    .pr-card-body[b-a45mp2huhs] {
        padding: 1rem;
    }

    .pr-table-wrapper[b-a45mp2huhs] {
        margin: -1rem;
        width: calc(100% + 2rem);
    }

    .pr-col-6[b-a45mp2huhs], .pr-col-5[b-a45mp2huhs], .pr-col-4[b-a45mp2huhs], .pr-col-3[b-a45mp2huhs] {
        grid-column: span 12;
    }

    .pr-image-upload-wrapper[b-a45mp2huhs] {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pr-actions-bar[b-a45mp2huhs] {
        flex-direction: column-reverse;
        gap: 0.75rem;
        margin: 1.5rem -1rem -1rem -1rem;
        padding: 1rem;
    }

        .pr-actions-bar .pr-btn[b-a45mp2huhs] {
            width: 100%;
            justify-content: center;
        }

    .pr-table td[b-a45mp2huhs], .pr-table th[b-a45mp2huhs] {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
}
/* /Pages/GestioneUtenti.razor.rz.scp.css */
/* GestioneUtenti.razor.css */

/* --- LAYOUT BASE (Allineato a GestionPR .pr-wrapper) --- */
.body-wrapper[b-4zvvzu0ycc] {
    background-color: #f9fafb;
    min-height: 100vh;
    padding: 2rem 1rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
    width: 100%;
}

.title-small[b-4zvvzu0ycc] {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Titolo verde, spesso e compatto come in GestionPR */
.title-h1[b-4zvvzu0ycc] {
    font-size: 1.25rem;
    font-weight: 900;
    color: #65a30d;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 56rem; /* Allinea alla larghezza delle grid */
}

/* --- CARD GLOBALE (Allineata a GestionPR .pr-card) --- */
.card[b-4zvvzu0ycc] {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

/* --- GRIGLIA UTENTI E CARD SINGOLE --- */
.users-grid[b-4zvvzu0ycc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.user-card[b-4zvvzu0ycc] {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .user-card:hover[b-4zvvzu0ycc] {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

.user-header[b-4zvvzu0ycc] {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

/* Avatar circolare chiaro con testo verde */
.user-avatar[b-4zvvzu0ycc] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #f7fee7;
    color: #65a30d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    overflow: hidden;
}

    .user-avatar img[b-4zvvzu0ycc] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.user-info[b-4zvvzu0ycc] {
    flex: 1;
    overflow: hidden;
}

.user-name[b-4zvvzu0ycc] {
    font-weight: 700;
    color: #374151;
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email[b-4zvvzu0ycc] {
    color: #9ca3af;
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- BADGES (Allineati a GestionPR .pr-badge / .pr-alert) --- */
.status-badge[b-4zvvzu0ycc] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-admin[b-4zvvzu0ycc] {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-pr[b-4zvvzu0ycc] {
    background-color: #fefce8;
    color: #a16207;
    border: 1px solid #fef08a;
}

.badge-scan[b-4zvvzu0ycc] {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-user[b-4zvvzu0ycc] {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* --- SELECT (Allineato a GestionPR .pr-input) --- */
.select[b-4zvvzu0ycc] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #374151;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    outline: none;
}

    .select:focus[b-4zvvzu0ycc] {
        border-color: #84cc16;
        box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.2);
    }

/* --- BOTTONI E AZIONI (Allineati a GestionPR .pr-btn) --- */
.actions-container[b-4zvvzu0ycc] {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn[b-4zvvzu0ycc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    flex: 1;
}

.btn-primary[b-4zvvzu0ycc] {
    background-color: #65a30d;
    color: #ffffff;
}

    .btn-primary:hover[b-4zvvzu0ycc] {
        background-color: #4d7c0f;
    }

.btn-outline[b-4zvvzu0ycc] {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    box-shadow: none;
}

    .btn-outline:hover[b-4zvvzu0ycc] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

.btn-danger[b-4zvvzu0ycc] {
    background-color: #ffffff;
    color: #ef4444;
    border: 1px solid #fecaca;
    box-shadow: none;
}

    .btn-danger:hover[b-4zvvzu0ycc] {
        background-color: #fef2f2;
        border-color: #ef4444;
    }

/* --- STATO VUOTO E SPINNER (Allineato a GestionPR) --- */
.empty-state[b-4zvvzu0ycc] {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #9ca3af;
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    max-width: 56rem;
    margin: 0 auto;
}

.spinner[b-4zvvzu0ycc] {
    border: 3px solid #e5e7eb;
    border-top: 3px solid #65a30d;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin-b-4zvvzu0ycc 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 1rem;
}

@keyframes spin-b-4zvvzu0ycc {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
    .body-wrapper[b-4zvvzu0ycc] {
        padding: 1.5rem 0.5rem;
    }

    .users-grid[b-4zvvzu0ycc] {
        grid-template-columns: 1fr;
    }

    .actions-container[b-4zvvzu0ycc] {
        flex-direction: column;
    }

    .btn[b-4zvvzu0ycc] {
        width: 100%;
    }
}
/* /Pages/GestionPR.razor.rz.scp.css */
/* Reset Base per il componente */
.pr-wrapper[b-plggu6zpbs] {
    background-color: #f9fafb;
    min-height: 100vh;
    padding-bottom: 2.5rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pr-container[b-plggu6zpbs] {
    max-width: 56rem;
    margin: 1.5rem auto 0;
}

/* Header */
.pr-header[b-plggu6zpbs] {
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    padding: 7px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pr-header-content[b-plggu6zpbs] {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pr-title[b-plggu6zpbs] {
    font-size: 14px;
    font-weight: 900;
    color: #65a30d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.pr-badge[b-plggu6zpbs] {
    background-color: #ecfccb;
    color: #4d7c0f;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Griglia layout */
.pr-grid[b-plggu6zpbs] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    display: block;
    width: 100%;
}

.pr-sidebar[b-plggu6zpbs] {
    /*padding: 10px;*/
}

@media (min-width: 768px) {
    .pr-grid[b-plggu6zpbs] {
        grid-template-columns: repeat(3, 1fr);
    }

    .pr-sidebar[b-plggu6zpbs] {
        grid-column: span 1 / span 1;
    }

    .pr-main[b-plggu6zpbs] {
        grid-column: span 2 / span 2;
    }
}

/* Cards */
.pr-card[b-plggu6zpbs] {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    overflow: hidden;
    margin:10px;
}

.pr-card-header[b-plggu6zpbs] {
    background-color: #65a30d;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pr-card-body[b-plggu6zpbs] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form Elements */
.pr-form-group[b-plggu6zpbs] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pr-label[b-plggu6zpbs] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    margin-left: 0.25rem;
}

.pr-input[b-plggu6zpbs] {
    width: 100%;
    background-color: #f9fafb;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: #374151;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

    .pr-input:focus[b-plggu6zpbs] {
        background-color: #ffffff;
        border-color: #84cc16;
        box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.2);
    }

/* Bottoni */
.pr-btn[b-plggu6zpbs] {
    width: 100%;
    background-color: #84cc16;
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(132, 204, 22, 0.3);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .pr-btn:hover:not(:disabled)[b-plggu6zpbs] {
        background-color: #65a30d;
    }

    .pr-btn:active:not(:disabled)[b-plggu6zpbs] {
        transform: scale(0.95);
    }

    .pr-btn:disabled[b-plggu6zpbs] {
        opacity: 0.7;
        cursor: not-allowed;
    }

.pr-spinner[b-plggu6zpbs] {
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-plggu6zpbs 1s linear infinite;
}

@keyframes spin-b-plggu6zpbs {
    to {
        transform: rotate(360deg);
    }
}

/* Tabella area */
.pr-card-title-area[b-plggu6zpbs] {
    padding: 1rem;
    border-bottom: 1px solid #f9fafb;
    background-color: rgba(249, 250, 251, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pr-table-title[b-plggu6zpbs] {
    font-weight: 900;
    color: #374151;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.1rem;
}

    .pr-table-title svg[b-plggu6zpbs] {
        color: #65a30d;
    }

.pr-btn-icon[b-plggu6zpbs] {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .pr-btn-icon:hover[b-plggu6zpbs] {
        background-color: #ffffff;
        color: #65a30d;
    }

.pr-table-wrapper[b-plggu6zpbs] {
    overflow-x: auto;
}

.pr-table[b-plggu6zpbs] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

    .pr-table th[b-plggu6zpbs] {
        padding: 1rem 1.5rem;
        font-size: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #9ca3af;
        border-bottom: 1px solid #f9fafb;
        font-weight: 700;
    }

    .pr-table td[b-plggu6zpbs] {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f9fafb;
        transition: background-color 0.2s;
    }

    .pr-table tr:hover td[b-plggu6zpbs] {
        background-color: rgba(236, 252, 203, 0.3);
    }

.pr-table-name[b-plggu6zpbs] {
    font-weight: 700;
    color: #374151;
}

.pr-table-sub[b-plggu6zpbs] {
    font-size: 0.625rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.pr-code[b-plggu6zpbs] {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.pr-table tr:hover .pr-code[b-plggu6zpbs] {
    background-color: #ecfccb;
    color: #4d7c0f;
}

.pr-btn-copy[b-plggu6zpbs] {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.pr-table tr:hover .pr-btn-copy:hover[b-plggu6zpbs] {
    color: #3b82f6;
}

.pr-table-empty[b-plggu6zpbs] {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #9ca3af;
}

    .pr-table-empty svg[b-plggu6zpbs] {
        color: #e5e7eb;
        margin: 0 auto 0.75rem;
    }

/* Alert */
.pr-alert[b-plggu6zpbs] {
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: fadeIn-b-plggu6zpbs 0.3s ease-out forwards;
    font-weight: 500;
}

.pr-alert-success[b-plggu6zpbs] {
    background-color: #f7fee7;
    color: #4d7c0f;
    border: 1px solid #ecfccb;
}

.pr-alert-error[b-plggu6zpbs] {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.pr-select[b-plggu6zpbs] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='%239ca3af' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

@keyframes fadeIn-b-plggu6zpbs {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/LoginAndRegister.razor.rz.scp.css */
/* LoginAndRegister.razor.css - FULL DARK MODE */

/* Layout Generale */
.reg-container[b-kf6qkey60a] {
    display: flex;
    justify-content: center;
    align-items: center; /* Centrato verticalmente come in Accedi */
    min-height: 100vh;
    background-color: #0a0a0a; /* Sfondo pagina nero profondo */
    padding: 2rem 1rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.reg-card[b-kf6qkey60a] {
    background-color: #1a1a1a; /* Card grigio scuro */
    width: 100%;
    max-width: 450px;
    border-radius: 1rem; /* 16px */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); /* Ombra adatta al dark mode */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Bordo quasi invisibile */
    animation: slideUp-b-kf6qkey60a 0.4s ease-out forwards;
}

@keyframes slideUp-b-kf6qkey60a {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.reg-header[b-kf6qkey60a] {
    background-color: rgba(255, 255, 255, 0.02); /* Leggero stacco dalla card */
    padding: 1.5rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .reg-header h2[b-kf6qkey60a] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 900;
        color: #65a30d; /* Testo Verde Patù */
    }

/* Pulsante Ghost (Cambia Account) */
.btn-ghost[b-kf6qkey60a] {
    background: transparent;
    color: #a1a1aa; /* Grigio chiaro testuale */
    border: 1px solid transparent;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-ghost:hover[b-kf6qkey60a] {
        background-color: rgba(255, 255, 255, 0.05); /* Hover scuro */
        color: #f8f9fa; /* Diventa bianco */
    }

/* Corpo della Form */
.reg-body[b-kf6qkey60a] {
    padding: 1.5rem 2rem 2rem;
}

/* Gestione Errori */
.error-box[b-kf6qkey60a] {
    background-color: rgba(239, 68, 68, 0.1); /* Sfondo rosso trasparente */
    color: #ef4444; /* Testo rosso vivo */
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Groups & Inputs */
.form-group[b-kf6qkey60a] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.center-text[b-kf6qkey60a] {
    align-items: center;
    text-align: center;
}

.input-label[b-kf6qkey60a] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f8f9fa; /* Label bianca */
    align-self: flex-start;
}

    .input-label span[b-kf6qkey60a] {
        color: #a1a1aa; /* Testo opzionale grigio */
        font-weight: 400;
    }

.input-wrapper[b-kf6qkey60a] {
    width: 100%;
}

.form-input[b-kf6qkey60a] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1.5px solid #3f3f46; /* Bordo grigio scuro */
    font-size: 1rem;
    background-color: #0a0a0a; /* Sfondo input nero */
    color: #f8f9fa; /* Testo digitato bianco */
    transition: all 0.2s;
    box-sizing: border-box;
}

    .form-input:focus[b-kf6qkey60a] {
        outline: none;
        border-color: #65a30d; /* Verde primario al focus */
        box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
    }

/* Upload Immagine */
.image-upload-wrapper[b-kf6qkey60a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.image-preview[b-kf6qkey60a] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #121212; /* Cerchio scuro */
    border: 2px dashed #3f3f46; /* Bordo tratteggiato scuro */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

    .image-preview:hover[b-kf6qkey60a] {
        border-color: #65a30d; /* Diventa verde all'hover */
    }

    .image-preview img[b-kf6qkey60a] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.placeholder-icon[b-kf6qkey60a] {
    color: #71717a; /* Icona fotocamera grigia */
}

.upload-controls[b-kf6qkey60a] {
    text-align: center;
}

.hidden-input[b-kf6qkey60a] {
    display: none;
}

.file-status[b-kf6qkey60a] {
    font-size: 0.8rem;
    color: #a1a1aa;
    margin: 0;
}

/* Links Box (Privacy / Termini) */
.links-box[b-kf6qkey60a] {
    background-color: #121212; /* Box scuro */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

    .links-box ul[b-kf6qkey60a] {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .links-box a[b-kf6qkey60a] {
        color: #65a30d;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 600;
        transition: color 0.2s;
    }

        .links-box a:hover[b-kf6qkey60a] {
            color: #4d7c0f;
            text-decoration: underline;
        }

/* Checkbox */
.checkbox-group[b-kf6qkey60a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

    .checkbox-group input[type="checkbox"][b-kf6qkey60a] {
        width: 1.2rem;
        height: 1.2rem;
        accent-color: #65a30d; /* Verde primario */
        cursor: pointer;
    }

    .checkbox-group label[b-kf6qkey60a] {
        font-size: 0.875rem;
        color: #a1a1aa; /* Testo grigio chiaro */
        cursor: pointer;
        user-select: none;
    }

/* Submit Button */
.btn-submit[b-kf6qkey60a] {
    width: 100%;
    padding: 0.85rem;
    background-color: #65a30d; /* Verde primario */
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(101, 163, 13, 0.2);
}

    .btn-submit:hover:not(.disabled):not(:disabled)[b-kf6qkey60a] {
        background-color: #4d7c0f; /* Verde scuro hover */
        box-shadow: 0 6px 8px -1px rgba(101, 163, 13, 0.3);
        transform: translateY(-1px);
    }

    .btn-submit:active:not(.disabled):not(:disabled)[b-kf6qkey60a] {
        transform: translateY(0);
    }

    .btn-submit.disabled[b-kf6qkey60a], .btn-submit:disabled[b-kf6qkey60a] {
        background-color: #3f3f46; /* Grigio scuro spento se disabilitato */
        color: #a1a1aa;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

/* Spinner */
.spinner[b-kf6qkey60a] {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    animation: spin-b-kf6qkey60a 1s linear infinite;
}

@keyframes spin-b-kf6qkey60a {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* /Pages/MieiBiglietti.razor.rz.scp.css */
/* MieiBiglietti.razor.css - DARK MODE */

/* --- Base e Layout --- */
.pr-wrapper[b-9zoooohowr] {
    background-color: #0a0a0a; /* Sfondo nero principale */
    color: #f8f9fa; /* Testo chiaro di base */
    min-height: 100vh;
    padding-bottom: 2.5rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pr-container[b-9zoooohowr] {
    max-width: 56rem; /* 896px */
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

/* --- Header --- */
.pr-header[b-9zoooohowr] {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(101, 163, 13, 0.2); /* Bordo Verde leggero */
    padding: 3px 10px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Ombra profonda */
}

.pr-header-content[b-9zoooohowr] {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pr-title[b-9zoooohowr] {
    font-size: 14px;
    font-weight: 900;
    color: #f8f9fa; /* Testo bianco */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

/* --- Griglia Card --- */
.pr-grid[b-9zoooohowr] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* --- Ticket Cards --- */
.pr-card[b-9zoooohowr] {
    background-color: #1a1a1a; /* Sfondo scuro per le card */
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Bordino sottile chiaro */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .pr-card:hover[b-9zoooohowr] {
        transform: translateY(-3px);
        border-color: rgba(101, 163, 13, 0.3);
    }

/* Effetto biglietto: bordo laterale colorato */
.pr-card-active[b-9zoooohowr] {
    border-left: 4px solid #65a30d; /* Verde per i biglietti attivi */
}

.pr-card-past[b-9zoooohowr] {
    border-left: 4px solid #3f3f46; /* Grigio scuro per i passati */
    background-color: #121212; /* Sfondo ancora più scuro */
    opacity: 0.6; /* Effetto sbiadito */
}

.pr-card-body[b-9zoooohowr] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pr-ticket-info[b-9zoooohowr] {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1); /* Linea tratteggiata leggera */
}

/* --- Typography --- */
.pr-section-title[b-9zoooohowr] {
    color: #f8f9fa; /* Testo chiaro */
    border-bottom: 2px solid rgba(101, 163, 13, 0.4); /* Linea verde sotto i titoli */
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

    .pr-section-title.secondary[b-9zoooohowr] {
        color: #a1a1aa; /* Muted per i titoli secondari */
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

.pr-text-muted[b-9zoooohowr] {
    color: #a1a1aa; /* Grigio scuro/medio per testi secondari */
}

.pr-text-primary[b-9zoooohowr] {
    color: #65a30d; /* Verde Patù */
}

.pr-text-small[b-9zoooohowr] {
    font-size: 0.85rem;
}

.pr-font-bold[b-9zoooohowr] {
    font-weight: 700;
}

/* --- Buttons --- */
.pr-btn[b-9zoooohowr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #65a30d;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    text-decoration: none;
}

    .pr-btn:hover[b-9zoooohowr] {
        background-color: #4d7c0f;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(101, 163, 13, 0.3);
    }

.pr-btn-outline[b-9zoooohowr] {
    background-color: transparent;
    color: #65a30d;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #65a30d;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-decoration: none;
}

    .pr-btn-outline:hover[b-9zoooohowr] {
        background-color: #65a30d;
        color: #ffffff;
    }

.pr-btn-full[b-9zoooohowr] {
    width: 100%;
    margin-top: auto;
}

/* --- Badges & Alerts --- */
.pr-badge[b-9zoooohowr] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pr-badge-success[b-9zoooohowr] {
    background-color: rgba(101, 163, 13, 0.15); /* Sfondo verde trasparente */
    color: #65a30d; /* Testo verde chiaro */
    border: 1px solid rgba(101, 163, 13, 0.3);
}

.pr-badge-neutral[b-9zoooohowr] {
    background-color: rgba(255, 255, 255, 0.05); /* Grigio trasparente */
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-alert[b-9zoooohowr] {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pr-alert-info[b-9zoooohowr] {
    background-color: rgba(255, 255, 255, 0.03); /* Card informativa scura neutra */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8f9fa;
}

    .pr-alert-info h5[b-9zoooohowr] {
        margin: 0 0 0.5rem 0;
        font-weight: 700;
        color: #65a30d; /* Titolo in risalto Verde */
    }

    .pr-alert-info p[b-9zoooohowr] {
        margin: 0;
        font-size: 0.95rem;
        color: #a1a1aa;
    }

/* --- Spinner --- */
.pr-spinner[b-9zoooohowr] {
    border: 3px solid rgba(255, 255, 255, 0.1); /* Binario grigio scuro */
    border-top: 3px solid #65a30d; /* Avanzamento verde */
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin-b-9zoooohowr 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin-b-9zoooohowr {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Modal QR Code Overlay (Theme Dark) --- */
.pr-qr-overlay[b-9zoooohowr] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo scuro forte per il focus */
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.pr-qr-container[b-9zoooohowr] {
    background-color: #1a1a1a; /* Sfondo Card scuro */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(101, 163, 13, 0.3); /* Bordino verde Patù in rilievo */
    max-width: 400px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #f8f9fa; /* Testo chiaro */
}

/* --- Banner --- */
.pr-info-banner[b-9zoooohowr] {
    background-color: rgba(101, 163, 13, 0.05);
    border: 1px solid rgba(101, 163, 13, 0.2);
    border-left: 4px solid #65a30d;
    border-radius: 0.75rem;
    padding: 10px;
    margin-bottom: 2rem;
}

.pr-info-content[b-9zoooohowr] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pr-info-icon[b-9zoooohowr] {
    font-size: 1.5rem;
    line-height: 1;
}

.pr-info-text[b-9zoooohowr] {
    display: flex;
    flex-direction: column;
}

.pr-info-title[b-9zoooohowr] {
    margin: 0 0 0.25rem 0;
    color: #65a30d; /* Verde Patù per il titolo */
    font-size: 1rem;
    font-weight: 700;
}

.pr-info-text p[b-9zoooohowr] {
    margin: 0;
    color: #a1a1aa; /* pr-text-muted */
    font-size: 0.9rem;
    line-height: 1.5;
}

.pr-info-text strong[b-9zoooohowr] {
    color: #f8f9fa; /* Evidenzia il testo importante in bianco */
}
/* /Pages/Test_qr_page.razor.rz.scp.css */
.qr-test-page[b-dlr9qupqu8] {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    font-family: system-ui, -apple-system, sans-serif;
    color: #374151;
}

.page-title[b-dlr9qupqu8] {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #111827;
    font-weight: 700;
}

.test-grid[b-dlr9qupqu8] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .test-grid[b-dlr9qupqu8] {
        grid-template-columns: 1fr 1fr;
    }
}

.test-section[b-dlr9qupqu8] {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.section-title[b-dlr9qupqu8] {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.75rem;
    color: #1f2937;
}

.section-desc[b-dlr9qupqu8] {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.input-group[b-dlr9qupqu8] {
    margin-bottom: 1rem;
}

    .input-group label[b-dlr9qupqu8] {
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 0.35rem;
    }

    .input-group input[b-dlr9qupqu8] {
        width: 100%;
        padding: 0.5rem 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 0.375rem;
        box-sizing: border-box;
        font-size: 1rem;
    }

        .input-group input:focus[b-dlr9qupqu8] {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }

.component-wrapper[b-dlr9qupqu8] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #d1d5db;
}

.result-card[b-dlr9qupqu8] {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    border-radius: 0.375rem;
    animation: fadeIn-b-dlr9qupqu8 0.3s ease-in-out;
}

    .result-card h3[b-dlr9qupqu8] {
        margin-top: 0;
        color: #166534;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

.result-data p[b-dlr9qupqu8] {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.badge[b-dlr9qupqu8] {
    background-color: #bbf7d0;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-weight: bold;
}

@keyframes fadeIn-b-dlr9qupqu8 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/VenditàBiglietti.razor.rz.scp.css */
/* VenditàBiglietti.razor.css */

/* --- RESET & LAYOUT BASE CON VARIABILI INCLUSE --- */
.landing-body[b-ub6prm9lrz], .checkout-wrapper[b-ub6prm9lrz] {
    /* VARIABILI TEMA SCURO PATU */
    --bg-main: #0a0a0a;
    --bg-surface: #121212;
    --bg-card: #1a1a1a;
    --pr-primary: #65a30d;
    --pr-primary-hover: #4d7c0f;
    --text-main: #f8f9fa;
    --text-muted: #a1a1aa;
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    /* REGOLE BASE */
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar[b-ub6prm9lrz] {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(101, 163, 13, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.logo[b-ub6prm9lrz] {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

    .logo span[b-ub6prm9lrz] {
        color: var(--pr-primary);
    }

/* --- BOTTONI GLOBALI --- */
.btn[b-ub6prm9lrz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary[b-ub6prm9lrz] {
    background-color: var(--pr-primary);
    color: #ffffff;
}

    .btn-primary:hover:not(:disabled)[b-ub6prm9lrz] {
        background-color: var(--pr-primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(101, 163, 13, 0.3);
    }

.btn-outline[b-ub6prm9lrz] {
    background: transparent;
    color: var(--pr-primary);
    border-color: var(--pr-primary);
}

    .btn-outline:hover:not(:disabled)[b-ub6prm9lrz] {
        background-color: var(--pr-primary);
        color: #ffffff;
    }

.btn:disabled[b-ub6prm9lrz] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* --- HERO SECTION --- */
.hero[b-ub6prm9lrz] {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('image_200234.jpg') center/cover no-repeat;
}

    .hero[b-ub6prm9lrz]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.9) 100%);*/
        background: rgba(10,10,10,0.9);
        z-index: 1;
    }

.hero-content[b-ub6prm9lrz] {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-subtitle[b-ub6prm9lrz] {
    color: var(--pr-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title[b-ub6prm9lrz] {
    font-family: var(--font-headings);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-desc[b-ub6prm9lrz] {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SEZIONI --- */
.section[b-ub6prm9lrz] {
    padding: 6rem 5%;
    background-color: var(--bg-main);
}

.section-alt[b-ub6prm9lrz] {
    background-color: var(--bg-surface);
}

.section-header[b-ub6prm9lrz] {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title[b-ub6prm9lrz] {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

    .section-title span[b-ub6prm9lrz] {
        color: var(--pr-primary);
        font-style: italic;
    }

/* --- ABOUT --- */
.about-grid[b-ub6prm9lrz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image[b-ub6prm9lrz] {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

    .about-image img[b-ub6prm9lrz] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.about-text p[b-ub6prm9lrz] {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* --- SERVIZI --- */
.features-grid[b-ub6prm9lrz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card[b-ub6prm9lrz] {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

    .feature-card:hover[b-ub6prm9lrz] {
        transform: translateY(-5px);
        border-color: rgba(101, 163, 13, 0.4);
    }

.feature-icon[b-ub6prm9lrz] {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title[b-ub6prm9lrz] {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pr-primary);
}

.feature-desc[b-ub6prm9lrz] {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- EVENTI & CARD ISOLA --- */
.events-grid[b-ub6prm9lrz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card-bg[b-ub6prm9lrz] {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .event-card-bg:hover[b-ub6prm9lrz] {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.6);
        border-color: rgba(101, 163, 13, 0.4);
    }

    .event-card-bg[b-ub6prm9lrz]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* Sfumatura scura per far risaltare l'isola e il testo */
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
        z-index: 1;
    }

.event-card-island[b-ub6prm9lrz] {
    position: relative;
    z-index: 2;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

    .event-card-island .event-desc[b-ub6prm9lrz] {
        margin-bottom: 1.5rem;
        color: var(--text-muted);
        font-size: 0.95rem;
        flex-grow: 1;
    }

.event-date[b-ub6prm9lrz] {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.event-title[b-ub6prm9lrz] {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* --- FOOTER --- */
footer[b-ub6prm9lrz] {
    background-color: #050505;
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid[b-ub6prm9lrz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: left;
}

.footer-col h4[b-ub6prm9lrz] {
    font-family: var(--font-headings);
    color: var(--pr-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col p[b-ub6prm9lrz], .footer-col a[b-ub6prm9lrz] {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
}

.footer-bottom[b-ub6prm9lrz] {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #52525b;
    font-size: 0.85rem;
}

/* --- ANIMAZIONI IN BLAZOR (Senza JS) --- */
.fade-in[b-ub6prm9lrz] {
    animation: fadeUpAnim-b-ub6prm9lrz 0.8s ease-out forwards;
}

@keyframes fadeUpAnim-b-ub6prm9lrz {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================================
   STILI CHECKOUT / FORM DI PAGAMENTO (Adattati Tema Scuro)
   ======================================================= */
.checkout-wrapper[b-ub6prm9lrz] {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.pr-container[b-ub6prm9lrz] {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.pr-card[b-ub6prm9lrz] {
    background-color: var(--bg-card);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pr-card-header[b-ub6prm9lrz] {
    background-color: rgba(255,255,255,0.02);
    color: var(--text-main);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pr-card-body[b-ub6prm9lrz] {
    padding: 1.5rem;
}

/* Ticket Selector Scuro */
.pr-ticket-selector[b-ub6prm9lrz] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pr-ticket-option[b-ub6prm9lrz] {
    border: 2px solid rgba(255,255,255,0.1);
    background-color: var(--bg-surface);
    color: var(--text-main);
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

    .pr-ticket-option:hover[b-ub6prm9lrz] {
        border-color: rgba(101, 163, 13, 0.4);
    }

    .pr-ticket-option.active[b-ub6prm9lrz] {
        border-color: var(--pr-primary);
        background-color: rgba(101, 163, 13, 0.1);
    }

.pr-ticket-header[b-ub6prm9lrz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pr-ticket-option.active .pr-ticket-header[b-ub6prm9lrz] {
    color: var(--pr-primary);
}

.pr-ticket-desc[b-ub6prm9lrz] {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Forms Scuro */
.pr-form-grid[b-ub6prm9lrz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pr-col-full[b-ub6prm9lrz] {
    grid-column: span 2;
}

.pr-form-group[b-ub6prm9lrz] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pr-label[b-ub6prm9lrz] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pr-input[b-ub6prm9lrz] {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    background-color: var(--bg-surface);
    color: var(--text-main);
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

    .pr-input:focus[b-ub6prm9lrz] {
        outline: none;
        border-color: var(--pr-primary);
        box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.2);
    }

.pr-btn-neutral[b-ub6prm9lrz] {
    background-color: transparent;
    color: var(--text-main);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

    .pr-btn-neutral:hover:not(:disabled)[b-ub6prm9lrz] {
        background-color: rgba(255,255,255,0.05);
        border-color: var(--text-muted);
    }

.pr-btn-close[b-ub6prm9lrz] {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

    .pr-btn-close:hover[b-ub6prm9lrz] {
        color: var(--text-main);
    }

/* Alerts */
.pr-alert[b-ub6prm9lrz] {
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.pr-alert-error[b-ub6prm9lrz] {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pr-alert-success[b-ub6prm9lrz] {
    background-color: rgba(101, 163, 13, 0.1);
    color: var(--pr-primary);
    border: 1px solid rgba(101, 163, 13, 0.2);
}

/* Spinner */
.pr-spinner[b-ub6prm9lrz] {
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--pr-primary);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.pr-spinner-sm[b-ub6prm9lrz] {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 2px;
    margin: 0 0.5rem 0 0;
}

/* Responsive Checkout */
@media (max-width: 640px) {
    .pr-form-grid[b-ub6prm9lrz] {
        grid-template-columns: 1fr;
    }

    .pr-col-full[b-ub6prm9lrz] {
        grid-column: span 1;
    }

    .about-grid[b-ub6prm9lrz], .footer-grid[b-ub6prm9lrz] {
        grid-template-columns: 1fr;
    }

    .hero-title[b-ub6prm9lrz] {
        font-size: 3rem;
    }
}

/* --- POPUP VERIFICA ETÀ --- */
/* Overlay che copre tutta la pagina */
.age-overlay-wrapper[b-ub6prm9lrz] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92); /* Sfondo quasi nero totale */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

/* Contenitore del Popup */
.age-modal-container[b-ub6prm9lrz] {
    background-color: #121212; /* Corrisponde a --bg-surface */
    border: 1px solid #2a2a2a;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.age-modal-title[b-ub6prm9lrz] {
    color: #f8f9fa; /* Bianco sporco */
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.age-modal-body[b-ub6prm9lrz] {
    color: #f8f9fa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.age-modal-footer[b-ub6prm9lrz] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Pulsante Conferma (Verde PATU) */
.age-btn-confirm[b-ub6prm9lrz] {
    background-color: #65a30d; /* Verde primario */
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

    .age-btn-confirm:hover[b-ub6prm9lrz] {
        background-color: #4d7c0f; /* Verde più scuro al passaggio */
    }

/* Pulsante Annulla */
.age-btn-cancel[b-ub6prm9lrz] {
    background: transparent;
    color: #a1a1aa; /* Grigio smorzato */
    border: 1px solid #3f3f46;
    padding: 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

    .age-btn-cancel:hover[b-ub6prm9lrz] {
        color: #f8f9fa;
        border-color: #a1a1aa;
    }

/* Nota rimborsi "nascosta": colore molto scuro su fondo scuro */
.age-discreet-refund[b-ub6prm9lrz] {
    margin-top: 1.8rem;
    font-size: 0.65rem;
    color: #777777; 
    line-height: 1.3;
    font-style: italic;
    padding: 0 10px;
}

/* /Pages/VerificaQRpage.razor.rz.scp.css */
/* --- TAVOLI.HTML STYLESHEET PER CONTROLLO ACCESSI --- */

/* Contenitore principale (Sfondo grigio chiarissimo come in Tavoli.html) */
.ca-container[b-84v2z8u672] {
    min-height: 100vh;
    background-color: #f3f4f6; /* grigio-100 per far risaltare i box bianchi */
    display: flex;
    flex-direction: column;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header bianco con testo Lime per abbinarsi agli header di Tavoli.html */
.ca-header[b-84v2z8u672] {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    padding: 5px 10px;
    position: relative;
    z-index: 10;
}

.ca-title[b-84v2z8u672] {
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    color: #65a30d; /* lime-600 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.ca-subtitle[b-84v2z8u672] {
    color: #6b7280; /* grigio-500 */
    text-align: center;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 600;
    height: 10px;
}

/* Area centrale */
.ca-main[b-84v2z8u672] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Allunga i figli per riempire lo spazio */
    justify-content: center;
    padding: 1rem;
    position: relative;
    z-index: 0;
    overflow: hidden; /* Evita lo scroll laterale se il componente si ingrandisce molto */
}

/* --- OVERRIDE COMPONENTE FIGLIO (SCANNER) TRAMITE ::DEEP --- */
/* Usando ::deep permettiamo allo scanner di ingrandirsi e mantenere le 
   proporzioni nello spazio genitore, aggirando il suo 'min-width: 400px'
   senza dover minimamente modificare il file Scannerizza-qr.razor */

[b-84v2z8u672] .qr-scanner-container {
    width: 100% !important;
    max-width: 500px !important; /* Limite massimo sicuro per tablet/desktop */
    min-width: 0 !important;
    margin: auto !important;
    aspect-ratio: 3 / 4; /* Mantiene proporzioni armoniose simili al componente originale */
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-radius: 1.5rem !important; /* Arrotondamento coordinato con il resto dell'app */
    padding: 1.25rem !important;
}

/* Il lettore nero si espanderà riempiendo lo spazio a disposizione */
[b-84v2z8u672] .qr-reader {
    flex-grow: 1;
    min-height: 0 !important;
    height: 100% !important;
    border-radius: 1rem !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* La videocamera manterrà il suo aspect-ratio facendo un crop (cover) sullo schermo pieno */
    [b-84v2z8u672] .qr-reader video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

[b-84v2z8u672] .qr-controls {
    margin-top: 1.25rem !important;
}

/* Ingrandiamo anche i pulsanti dello scanner per farli abbinare all'interfaccia */
[b-84v2z8u672] .qr-btn {
    padding: 1rem !important;
    font-size: 1.125rem !important;
    border-radius: 1rem !important;
    flex-grow: 1;
}

/* --- MODALE POPUP STILE TAVOLI.HTML --- */

.ca-modal-overlay[b-84v2z8u672] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.75); /* overlay scuro */
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    padding: 1rem;
}

.ca-modal-card[b-84v2z8u672] {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 24rem;
    padding: 1.5rem;
    animation: popIn-b-84v2z8u672 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn-b-84v2z8u672 {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Icona di successo */
.ca-success-icon-bg[b-84v2z8u672] {
    width: 4rem;
    height: 4rem;
    background-color: #ecfccb; /* lime-100 */
    color: #65a30d; /* lime-600 */
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    /* Doppio anello per effetto "wow" */
    box-shadow: 0 0 0 8px #f7fee7; /* lime-50 */
}

/* Icona di Avvertimento (Giallo/Arancio) */
.ca-warning-icon-bg[b-84v2z8u672] {
    width: 4rem;
    height: 4rem;
    background-color: #fef3c7; /* amber-100 */
    color: #d97706; /* amber-600 */
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    /* Doppio anello per coerenza con l'icona success */
    box-shadow: 0 0 0 8px #fffbeb; /* amber-50 */
}

.ca-modal-title[b-84v2z8u672] {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937; /* grigio-800 */
    margin: 0 0 0.25rem 0;
}

.ca-modal-desc[b-84v2z8u672] {
    text-align: center;
    color: #6b7280; /* grigio-500 */
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 1.5rem 0;
}

/* Dettagli Biglietto */
.ca-ticket-details[b-84v2z8u672] {
    background-color: #f9fafb; /* grigio-50 */
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 2px dashed #e5e7eb; /* grigio-200 */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

/* Effetto strappo laterale sul biglietto */
.ca-ticket-cutout-left[b-84v2z8u672], .ca-ticket-cutout-right[b-84v2z8u672] {
    position: absolute;
    top: 50%;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #ffffff; /* Stesso colore della card modale */
    border-radius: 9999px;
    transform: translateY(-50%);
}

.ca-ticket-cutout-left[b-84v2z8u672] {
    left: -0.85rem;
    border-right: 2px dashed #e5e7eb;
}

.ca-ticket-cutout-right[b-84v2z8u672] {
    right: -0.85rem;
    border-left: 2px dashed #e5e7eb;
}

.ca-label[b-84v2z8u672] {
    font-size: 0.75rem;
    color: #9ca3af; /* grigio-400 */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.ca-value[b-84v2z8u672] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827; /* grigio-900 */
    margin: 0;
}

.ca-divider[b-84v2z8u672] {
    border-top: 2px dashed #e5e7eb;
    margin: 0.75rem 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.ca-footer-row[b-84v2z8u672] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

/* Tag ID */
.ca-id-value[b-84v2z8u672] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 700;
    color: #4b5563; /* grigio-600 */
    background-color: #e5e7eb; /* grigio-200 */
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin: 0;
}

/* Tag Tipo Biglietto (Stile bottone "Carica" di Tavoli.html) */
.ca-ticket-type[b-84v2z8u672] {
    background-color: #ecfccb; /* lime-100 */
    color: #4d7c0f; /* lime-700 */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px; /* arrotondatissimo */
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Bottone Conferma */
.ca-btn-confirm[b-84v2z8u672] {
    width: 100%;
    background-color: #84cc16; /* lime-500 */
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(132, 204, 22, 0.4); /* ombra lime */
    transition: all 0.2s ease-in-out;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

    .ca-btn-confirm:hover[b-84v2z8u672] {
        background-color: #65a30d; /* lime-600 */
        box-shadow: 0 6px 8px -1px rgba(101, 163, 13, 0.5);
    }

    .ca-btn-confirm:active[b-84v2z8u672] {
        background-color: #4d7c0f; /* lime-700 */
        transform: scale(0.97);
    }


/* Bottone di Avvertimento (Stile Amber per Biglietto Già Visto) */
.ca-btn-warning[b-84v2z8u672] {
    width: 100%;
    background-color: #f59e0b; /* amber-500 */
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease-in-out;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

    .ca-btn-warning:hover[b-84v2z8u672] {
        background-color: #d97706; /* amber-600 */
        box-shadow: 0 6px 8px -1px rgba(217, 119, 6, 0.5);
    }

    .ca-btn-warning:active[b-84v2z8u672] {
        background-color: #b45309; /* amber-700 */
        transform: scale(0.97);
    }


@keyframes spin-b-84v2z8u672 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ca-spinner[b-84v2z8u672] {
    animation: spin-b-84v2z8u672 1s linear infinite;
}
