/* ╔═══════════════════════════════════════════════════════════╗ */
/* ║   ✨ TUOPROFESSIONISTA — REGISTRATI.CSS — LUXURY BEAUTY  ║ */
/* ║   Pagina registrazione · wizard a 3 step                 ║ */
/* ║   Variabili da style.css (--bty-gold, --bty-cream, etc.) ║ */
/* ╚═══════════════════════════════════════════════════════════╝ */


/* ═══════════════════════════════════════════════════════════ */
/*  RESET INTERNO PAGINA                                        */
/* ═══════════════════════════════════════════════════════════ */

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body, 'Inter', sans-serif);
    background: var(--bty-cream, #faf8f5);
    color: var(--bty-text, #2c2c2c);
}


/* ═══════════════════════════════════════════════════════════ */
/*  WRAPPER GENERALE                                            */
/* ═══════════════════════════════════════════════════════════ */

.reg-wrapper {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 100vh;
    background: var(--bty-cream, #faf8f5);
}


/* ═══════════════════════════════════════════════════════════ */
/*  PANNELLO SINISTRO LUXURY CHIARO                             */
/* ═══════════════════════════════════════════════════════════ */

.reg-side {
    position: relative;
    padding: 50px;
    overflow: hidden;
    isolation: isolate;
}

.reg-side-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--bty-cream, #faf8f5);
    background-image:
        linear-gradient(135deg, rgba(255,251,245,0.85) 0%, rgba(252,228,236,0.7) 35%, rgba(232,213,160,0.45) 65%, rgba(244,241,236,0.85) 100%),
        url('/images/registrati/sfondo.webp');
    background-size: cover;
    background-position: center;
}

.reg-side-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--bty-gold, #c9a961), var(--bty-gold-light, #e8d5a0), var(--bty-gold, #c9a961), transparent);
    opacity: 0.5;
}

/* === LOGO === */
.reg-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.reg-logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.reg-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.reg-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.reg-logo-name {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--bty-black, #0a0a0a);
}
.reg-logo-name em {
    font-style: italic;
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}
.reg-logo-tagline {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--bty-gold, #c9a961);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* === SIDE CONTENT === */
.reg-side-content {
    position: relative;
    z-index: 1;
}

.reg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bty-gold, #c9a961);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.reg-eyebrow-line {
    width: 24px;
    height: 1px;
    background: var(--bty-gold, #c9a961);
}

.reg-side-title {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 38px;
    font-weight: 500;
    color: var(--bty-black, #0a0a0a);
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}
.reg-side-title em {
    font-style: italic;
    background: linear-gradient(135deg, #b5952f, #c9a961, #b5952f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

.reg-side-sub {
    color: rgba(10, 10, 10, 0.6);
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 380px;
}

/* === FEATURES LIST === */
.reg-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.reg-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}
.reg-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(201, 169, 97, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.15);
    color: var(--bty-gold, #c9a961);
}
.reg-feature-icon i { font-size: 0.8rem; }

.reg-feature-text-title {
    color: var(--bty-black, #0a0a0a);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}
.reg-feature-text-sub {
    color: rgba(10, 10, 10, 0.55);
    font-size: 11.5px;
    margin-top: 2px;
}

.reg-feature.is-highlight {
    padding: 14px;
    background: linear-gradient(135deg, rgba(201,169,97,0.18), rgba(232,213,160,0.4));
    border: 1px solid rgba(201, 169, 97, 0.45);
    border-radius: 14px;
    margin: 4px 0;
}
.reg-feature.is-highlight .reg-feature-icon {
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    border-color: var(--bty-gold, #c9a961);
    color: #fff;
    box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}
.reg-feature.is-highlight .reg-feature-text-title {
    color: var(--bty-black, #0a0a0a);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.reg-feature-badge-new {
    background: var(--bty-black, #0a0a0a);
    color: var(--bty-gold-light, #e8d5a0);
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* Card Startup */
.reg-side-startup {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}
.reg-startup-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(201, 169, 97, 0.3);
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(201, 169, 97, 0.1);
}
.reg-startup-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.85rem;
}
.reg-startup-title {
    color: var(--bty-gold-deep, #b5952f);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}
.reg-startup-text {
    color: rgba(10, 10, 10, 0.65);
    font-size: 11px;
    margin-top: 3px;
    line-height: 1.4;
}

/* Helper box (Step 2) */
.reg-side-helper {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.reg-side-helper-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(201, 169, 97, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bty-gold-deep, #b5952f);
}
.reg-side-helper-title {
    color: var(--bty-black, #0a0a0a);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}
.reg-side-helper-text {
    color: rgba(10, 10, 10, 0.65);
    font-size: 12px;
    line-height: 1.55;
}
.reg-side-helper-text strong {
    color: var(--bty-gold-deep, #b5952f);
    font-weight: 700;
}

/* Riepilogo (Step 3) */
.reg-summary {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.reg-summary-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--bty-gold, #c9a961);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.reg-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(201, 169, 97, 0.08);
    border-radius: 10px;
    margin-bottom: 8px;
}
.reg-summary-row:last-child { margin-bottom: 0; }
.reg-summary-row-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bty-black, #0a0a0a);
}
.reg-summary-row-label {
    font-size: 11px;
    color: var(--bty-text-mute, #71716c);
    line-height: 1;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.reg-summary-row-value {
    color: var(--bty-black, #0a0a0a);
    font-size: 13px;
    font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════ */
/*  PANNELLO DESTRO BIANCO                                      */
/* ═══════════════════════════════════════════════════════════ */

.reg-main {
    background: #fff;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
}

/* === STEPPER === */
.reg-stepper-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.reg-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.reg-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e0d8c6;
    color: #bfb4a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.35s;
}
.reg-step-dot.is-current {
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    border-color: var(--bty-gold, #c9a961);
    color: #fff;
}
.reg-step-dot.is-done {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}
.reg-step-line {
    width: 36px;
    height: 1px;
    background: #e0d8c6;
    transition: background 0.35s;
}
.reg-step-line.is-active {
    background: #10b981;
}
.reg-step-line.is-current {
    background: var(--bty-gold, #c9a961);
}

.reg-login-link {
    color: var(--bty-text-mute, #71716c);
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
}
.reg-login-link strong {
    color: var(--bty-gold, #c9a961);
    font-weight: 700;
}
.reg-login-link:hover strong {
    color: var(--bty-gold-deep, #b5952f);
}

/* === STEP HEADER === */
.reg-step-meta {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bty-gold, #c9a961);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.reg-step-title {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 34px;
    font-weight: 600;
    color: var(--bty-black, #0a0a0a);
    line-height: 1.1;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.reg-step-title em {
    font-style: italic;
    background: linear-gradient(135deg, #c9a961, #e8d5a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.reg-step-sub {
    color: var(--bty-text-mute, #71716c);
    font-size: 13px;
    margin: 0 0 32px;
}

/* === STEP CONTAINER === */
.reg-step {
    display: none;
    flex-direction: column;
    flex: 1;
}
.reg-step.is-active {
    display: flex;
}

.reg-step-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* === CHOICE CARDS === */
.reg-choice {
    display: block;
    cursor: pointer;
    position: relative;
}
.reg-choice input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reg-choice-card {
    background: var(--bty-cream, #faf8f5);
    border: 2px solid #f0ebe0;
    border-radius: 18px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.reg-choice:hover .reg-choice-card {
    border-color: rgba(201, 169, 97, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.15);
}
.reg-choice input[type="radio"]:checked + .reg-choice-card {
    background: #fff;
    border-color: var(--bty-gold, #c9a961);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.2);
}

.reg-choice-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fce4ec, #f4f1ec);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bty-gold, #c9a961);
    transition: all 0.35s;
}
.reg-choice-icon i { font-size: 1.4rem; }
.reg-choice input[type="radio"]:checked + .reg-choice-card .reg-choice-icon {
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    color: #fff;
    box-shadow: 0 6px 18px rgba(201, 169, 97, 0.4);
}

.reg-choice-content {
    flex: 1;
    min-width: 0;
}
.reg-choice-title {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--bty-black, #0a0a0a);
    line-height: 1.1;
    margin: 0 0 4px;
}
.reg-choice-eyebrow {
    font-size: 11px;
    color: var(--bty-gold, #c9a961);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.reg-choice-desc {
    font-size: 13px;
    color: var(--bty-text-mute, #71716c);
    line-height: 1.5;
}

.reg-choice-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #d4d0c5;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.reg-choice-radio i {
    font-size: 0.7rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}
.reg-choice input[type="radio"]:checked + .reg-choice-card .reg-choice-radio {
    background: var(--bty-gold, #c9a961);
    border-color: var(--bty-gold, #c9a961);
}
.reg-choice input[type="radio"]:checked + .reg-choice-card .reg-choice-radio i {
    opacity: 1;
}

.reg-choice-popular {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    color: var(--bty-black, #0a0a0a);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Card verticali (Step 2) */
.reg-choice-card.is-vertical {
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 24px 22px;
}
.reg-choice-card.is-vertical .reg-choice-icon {
    margin-bottom: 18px;
}
.reg-choice-card.is-vertical .reg-choice-radio {
    position: absolute;
    top: 14px;
    right: 14px;
}
.reg-choice-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    width: 100%;
    list-style: none;
    padding-left: 0;
}
.reg-choice-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--bty-text-mute, #71716c);
}
.reg-choice-features li i {
    color: var(--bty-gold, #c9a961);
    font-size: 0.7rem;
}

.reg-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* ═══════════════════════════════════════════════════════════ */
/*  STEP 3 — FORM DATI                                          */
/* ═══════════════════════════════════════════════════════════ */

.reg-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.reg-section-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    color: var(--bty-black, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}
.reg-section-name {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--bty-black, #0a0a0a);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.reg-section {
    margin-bottom: 18px;
}

.reg-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 169, 97, 0.3), transparent);
    margin: 6px 0 22px;
}

.reg-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.reg-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.reg-field {
    position: relative;
}
.reg-field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bty-gold, #c9a961);
    font-size: 0.78rem;
    pointer-events: none;
    z-index: 2;
}
.reg-field input[type="text"],
.reg-field input[type="email"],
.reg-field input[type="tel"],
.reg-field input[type="password"],
.reg-field select {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1px solid #ece8df;
    border-radius: 12px;
    font-size: 13px;
    font-family: var(--font-body, 'Inter', sans-serif);
    background: #fff;
    outline: none;
    box-sizing: border-box;
    color: var(--bty-text, #2c2c2c);
    transition: all 0.25s;
}
.reg-field select {
    padding-right: 30px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.reg-field input::placeholder {
    color: #adb5bd;
}
.reg-field input:focus,
.reg-field select:focus {
    border-color: var(--bty-gold, #c9a961);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
}
.reg-field-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bty-text-mute, #71716c);
    font-size: 0.7rem;
    pointer-events: none;
}

/* === TERMS CHECKBOX === */
.reg-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 12px 14px;
    background: rgba(201, 169, 97, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 10px;
    margin-bottom: 18px;
    transition: all 0.25s;
}
.reg-terms:hover {
    background: rgba(201, 169, 97, 0.07);
    border-color: rgba(201, 169, 97, 0.25);
}
.reg-terms input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reg-terms-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid var(--bty-gold, #c9a961);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.25s;
}
.reg-terms-box i {
    color: #fff;
    font-size: 0.6rem;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s;
}
.reg-terms input[type="checkbox"]:checked + .reg-terms-box {
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
}
.reg-terms input[type="checkbox"]:checked + .reg-terms-box i {
    opacity: 1;
    transform: scale(1);
}
.reg-terms-text {
    font-size: 11.5px;
    color: var(--bty-text, #2c2c2c);
    line-height: 1.55;
}
.reg-terms-text a {
    color: var(--bty-gold, #c9a961);
    font-weight: 600;
    text-decoration: none;
}
.reg-terms-text a:hover {
    color: var(--bty-gold-deep, #b5952f);
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════ */
/*  BUTTONS                                                     */
/* ═══════════════════════════════════════════════════════════ */

.reg-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.reg-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #c9a961, #e8d5a0, #c9a961);
    color: var(--bty-black, #0a0a0a);
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(201, 169, 97, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.35s ease;
}
.reg-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(201, 169, 97, 0.5);
}
.reg-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reg-btn-back {
    flex: 0 0 auto;
    background: #fff;
    color: var(--bty-black, #0a0a0a);
    border: 1.5px solid #e0d8c6;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    transition: all 0.25s;
}
.reg-btn-back:hover {
    border-color: var(--bty-gold, #c9a961);
    color: var(--bty-gold-deep, #b5952f);
}

.reg-trust {
    text-align: center;
    color: var(--bty-text-mute, #71716c);
    font-size: 11px;
    margin: 14px 0 0;
    line-height: 1.5;
}
.reg-trust i {
    color: #10b981;
    margin-right: 4px;
}


/* ═══════════════════════════════════════════════════════════ */
/*  ALERT                                                       */
/* ═══════════════════════════════════════════════════════════ */

.reg-alert {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 12.5px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.reg-alert i { color: #ef4444; margin-top: 2px; }

.reg-alert.is-info {
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--bty-gold-deep, #b5952f);
}
.reg-alert.is-info i { color: var(--bty-gold, #c9a961); }

.reg-success {
    text-align: center;
    padding: 60px 30px;
}
.reg-success i {
    font-size: 4rem;
    color: var(--bty-gold, #c9a961);
    margin-bottom: 20px;
    display: block;
}
.reg-success h2 {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    color: var(--bty-black, #0a0a0a);
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 10px;
}
.reg-success p {
    color: var(--bty-text-mute, #71716c);
    font-size: 14px;
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                  */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .reg-wrapper {
        grid-template-columns: 1fr;
    }
    .reg-side {
        padding: 40px 24px;
        min-height: 0;
    }
    .reg-main {
        padding: 40px 24px;
    }
    .reg-side-title {
        font-size: 30px;
    }
    .reg-step-title {
        font-size: 26px;
    }
    .reg-features {
        gap: 10px;
    }
    .reg-choice-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .reg-fields-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .reg-side {
        padding: 30px 18px;
    }
    .reg-main {
        padding: 30px 18px;
    }
    .reg-stepper-bar {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
    .reg-actions {
        flex-direction: column-reverse;
    }
    .reg-btn-back {
        width: 100%;
        justify-content: center;
    }
}
/* ═══════════════════════════════════════════════════════════ */
/*  TRIAL 14 GIORNI — Banner attivazione                       */
/* ═══════════════════════════════════════════════════════════ */

.reg-trial-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #c9a961 0%, #e8d5a0 50%, #c9a961 100%);
    color: var(--bty-black, #0a0a0a);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 0 0 24px;
    box-shadow: 0 12px 30px rgba(201, 169, 97, 0.35);
    position: relative;
    overflow: hidden;
}

.reg-trial-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reg-trial-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--bty-black, #0a0a0a);
    z-index: 1;
}

.reg-trial-banner-text {
    flex: 1;
    z-index: 1;
    min-width: 0;
}

.reg-trial-banner-title {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bty-black, #0a0a0a);
    line-height: 1.2;
    margin: 0 0 4px;
}

.reg-trial-banner-sub {
    font-size: 0.78rem;
    color: rgba(10, 10, 10, 0.72);
    font-weight: 500;
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 575px) {
    .reg-trial-banner {
        padding: 14px 16px;
        gap: 12px;
    }
    .reg-trial-banner-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .reg-trial-banner-title {
        font-size: 1rem;
    }
    .reg-trial-banner-sub {
        font-size: 0.72rem;
    }
}
/* ═══════════════════════════════════════════════════════════ */
/*  SOLO CLIENTE — Banner registrazione                        */
/* ═══════════════════════════════════════════════════════════ */

.reg-cliente-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #fce4ec 100%);
    color: var(--bty-black, #0a0a0a);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 0 0 24px;
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.18);
    position: relative;
    overflow: hidden;
}

.reg-cliente-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reg-cliente-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(233, 30, 99, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--bty-rose, #e91e63);
    z-index: 1;
}

.reg-cliente-banner-text {
    flex: 1;
    z-index: 1;
    min-width: 0;
}

.reg-cliente-banner-title {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bty-black, #0a0a0a);
    line-height: 1.2;
    margin: 0 0 4px;
}

.reg-cliente-banner-sub {
    font-size: 0.78rem;
    color: rgba(10, 10, 10, 0.72);
    font-weight: 500;
    line-height: 1.45;
}

@media (max-width: 575px) {
    .reg-cliente-banner {
        padding: 14px 16px;
        gap: 12px;
    }
    .reg-cliente-banner-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .reg-cliente-banner-title {
        font-size: 1rem;
    }
    .reg-cliente-banner-sub {
        font-size: 0.72rem;
    }
}
/* ═══════════════════════════════════════════════════════════ */
/*  TRIAL — Link "escape" per chi non è beauty pro              */
/* ═══════════════════════════════════════════════════════════ */

.reg-escape-link {
    text-align: center;
    color: var(--bty-text-mute, #71716c);
    font-size: 0.78rem;
    margin: 14px 0 0;
    line-height: 1.4;
}

.reg-escape-link a {
    color: var(--bty-gold-deep, #b5952f);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}

.reg-escape-link a:hover {
    color: var(--bty-gold, #c9a961);
    border-bottom-color: var(--bty-gold, #c9a961);
}
/* ═══════════════════════════════════════════════════════════ */
/*  TRIAL — CTA "Registrati come cliente" in top-bar           */
/* ═══════════════════════════════════════════════════════════ */

.reg-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.reg-cta-cliente {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(252, 228, 236, 0.6), rgba(244, 241, 236, 0.8));
    border: 1.5px solid rgba(233, 30, 99, 0.25);
    border-radius: 50px;
    color: var(--bty-text, #2c2c2c);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.reg-cta-cliente i {
    color: var(--bty-rose, #e91e63);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.reg-cta-cliente span {
    color: var(--bty-text-mute, #71716c);
}

.reg-cta-cliente strong {
    color: var(--bty-rose, #e91e63);
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
}

.reg-cta-cliente:hover {
    background: linear-gradient(135deg, #fce4ec, #f4f1ec);
    border-color: var(--bty-rose, #e91e63);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.15);
    text-decoration: none;
    color: var(--bty-text, #2c2c2c);
}

.reg-cta-cliente:hover strong {
    border-bottom-color: var(--bty-rose, #e91e63);
}

/* Rimuovi vecchio link escape in fondo */
.reg-escape-link {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .reg-top-actions {
        gap: 10px;
        justify-content: stretch;
        width: 100%;
    }
    .reg-cta-cliente,
    .reg-login-link {
        flex: 1;
        text-align: center;
        justify-content: center;
        font-size: 0.8rem;
        padding: 10px 14px;
    }
}

@media (max-width: 575px) {
    .reg-top-actions {
        flex-direction: column;
        gap: 8px;
    }
    .reg-cta-cliente,
    .reg-login-link {
        width: 100%;
        font-size: 0.78rem;
    }
    .reg-cta-cliente span {
        display: none;
    }
    .reg-cta-cliente strong {
        font-size: 0.85rem;
    }
}
/* ═══════════════════════════════════════════════════════════ */
/*  EVIDENZIAZIONE CAMPI DA COMPLETARE (errore di validazione)  */
/* ═══════════════════════════════════════════════════════════ */

.reg-field.reg-field-error input[type="text"],
.reg-field.reg-field-error input[type="email"],
.reg-field.reg-field-error input[type="tel"],
.reg-field.reg-field-error input[type="password"],
.reg-field.reg-field-error select {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.reg-field.reg-field-error .reg-field-icon {
    color: #dc3545;
}

.reg-terms.reg-field-error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.reg-choice.reg-field-error .reg-choice-card {
    border-color: #dc3545;
}
/* ─── Occhietto mostra/nascondi password ─── */
.reg-field.reg-field-pw input {
    padding-right: 44px;
}
.reg-pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--bty-text-mute, #71716c);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.reg-pw-toggle:hover {
    color: var(--bty-gold, #c9a961);
}
.reg-pw-toggle i {
    font-size: 0.85rem;
    pointer-events: none;
}