.prova-body {
    background: linear-gradient(135deg, #029D7E 0%, #4DC9A5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.prova-wrap {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.prova-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    max-width: 560px;
    width: 100%;
    text-align: center;
}

.prova-logo {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
}

.prova-titolo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #029D7E;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.prova-righe {
    list-style: disc;
    padding: 0 0 0 1.5rem;
    margin: 0 auto 2rem;
    max-width: 400px;
    text-align: left;
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
}

.prova-righe li {
    padding: .3rem 0;
}

.prova-righe li::marker {
    color: #029D7E;
}

.prova-azioni {
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.prova-azioni .modern-btn {
    flex: 1;
    cursor: pointer;
}

.feature-popup-actions .modern-btn {
    cursor: pointer;
}

.prova-torna {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: .75rem;
    cursor: pointer;
}


/* Popup (stesso aspetto dei popup dello Scadenzario) */
.feature-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 1rem;
    animation: fadeInOverlay 0.3s ease;
}

.feature-popup-overlay.d-none {
    display: none !important;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.feature-popup {
    margin: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    width: 100%;
    padding: 2.5rem;
    animation: slideUpPopup 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

@keyframes slideUpPopup {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.feature-popup-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-popup-icon i {
    font-size: 2rem;
    color: white;
}

.feature-popup-icon.success {
    background: linear-gradient(135deg, #029D7E, #4DC9A5);
    box-shadow: 0 10px 25px rgba(2, 157, 126, 0.35);
}

.feature-popup-badge {
    display: inline-block;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.feature-popup-badge.success {
    background: linear-gradient(135deg, #029D7E, #4DC9A5);
}

.feature-popup-icon.warning {
    background: linear-gradient(135deg, #ffd60a, #ff8500);
    box-shadow: 0 10px 25px rgba(255, 133, 0, 0.35);
}

.feature-popup-badge.warning {
    background: linear-gradient(135deg, #ffd60a, #ff8500);
}

.feature-popup-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-popup-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

.feature-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (max-width: 575.98px) {
    .prova-card { padding: 2rem 1.5rem; }
    .prova-azioni { flex-direction: column; }
    .feature-popup { padding: 1.75rem 1.25rem; }
}

/* Acquista: giallo/oro della palette ufficiale */
.modern-btn.btn-acquista {
    background: linear-gradient(135deg, #ffd60a, #f5a623);
    color: white;
}

.modern-btn.btn-acquista:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.3);
    color: white;
    text-decoration: none;
}

/* Campo email: stesso aspetto del menu Tom Select */
.prova-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 48px;
    background: white;
    transition: all 0.3s ease;
}

.prova-input:hover {
    border-color: #029D7E;
}

.prova-input:focus {
    border-color: #029D7E;
    box-shadow: 0 0 0 0.2rem rgba(2, 157, 126, 0.1);
    background: white;
}

.prova-sottotitolo {
    color: #495057;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

.prova-form {
    max-width: 380px;
    margin: 0 auto;
}

.prova-btn-pieno {
    width: 100%;
    cursor: pointer;
}

/* Campo password con occhio per mostrare o nascondere */
.prova-password-wrap {
    position: relative;
}

.prova-input-occhio {
    padding-right: 48px;
}

.prova-occhio {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 8px 12px;
    color: #495057;
    cursor: pointer;
}

.prova-occhio:hover,
.prova-occhio:focus-visible {
    color: #029D7E;
}

.prova-errore {
    color: #c5025a;
    font-size: .875rem;
    margin-top: .4rem;
}

.prova-input.is-invalid {
    border-color: #f72585;
}

/* Messaggio nel popup */
.prova-messaggio {
    border-radius: 12px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: .9rem;
}

.prova-messaggio.errore {
    background: rgba(247, 37, 133, 0.1);
    color: #c5025a;
}

.prova-messaggio.info {
    background: rgba(2, 157, 126, 0.1);
    color: #029D7E;
}

.prova-messaggio a {
    color: inherit;
    font-weight: 700;
}

/* Requisiti password (stesso aspetto del reset password) */
.prova-requisiti {
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.prova-requisiti h6 {
    color: #c53030;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}

.prova-requisiti ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #742a2a;
    font-size: 0.85rem;
}

/* Elenco moduli: mostra tutte le voci senza barra di scorrimento */
.feature-popup .ts-dropdown .ts-dropdown-content {
    max-height: none;
}
