﻿/* Stili condivisi da tutte le pagine RegistrazioneCorso.
 * Le classi sulla radice HTML conservano le differenze tra le versioni.
 * :where() mantiene la specificita dei selettori originali.
 */

:root {
    --tlm-blue: #003b73;
    --tlm-blue-dark: #062c54;
    --tlm-red: #c4161c;
    --tlm-red-dark: #9f1116;
    --tlm-light: #f4f8fc;
    --tlm-soft-blue: #eaf2fa;
    --tlm-dark: #132238;
    --tlm-muted: #667085;
    --tlm-border: rgba(0, 59, 115, .14);
    --tlm-radius: 24px;
}

html:where(.registrazione-corso-landing) {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tlm-dark);
    background: #fff;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, .badge {
    font-family: 'Urbanist', system-ui, sans-serif;
}

:where(.registrazione-corso-offcanvas) .page-wrapper {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(196, 22, 28, .12), transparent 28%), radial-gradient(circle at left 40%, rgba(0, 59, 115, .10), transparent 32%), linear-gradient(135deg, #ffffff 0%, var(--tlm-light) 100%);
}

:where(.registrazione-corso-inline) .page-wrapper {
    background: radial-gradient(circle at top right, rgba(196, 22, 28, .12), transparent 28%), radial-gradient(circle at left 40%, rgba(0, 59, 115, .10), transparent 32%), linear-gradient(135deg, #ffffff 0%, var(--tlm-light) 100%);
    position: relative;
}

:where(.registrazione-corso-landing) .page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: clip;
    background: radial-gradient(circle at top right, rgba(196, 22, 28, .12), transparent 28%), radial-gradient(circle at left 40%, rgba(0, 59, 115, .10), transparent 32%), linear-gradient(135deg, #ffffff 0%, var(--tlm-light) 100%);
}

.page-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(7, 55, 99, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 55, 99, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), rgba(0, 0, 0, .05));
    pointer-events: none;
}

:where(.registrazione-corso-landing) .site-header,
:where(.registrazione-corso-landing) .landing-main,
:where(.registrazione-corso-landing) footer {
    position: relative;
    z-index: 1;
}

:where(html:not(.registrazione-corso-inline)) .site-header {
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 59, 115, .08);
}

:where(html:not(.registrazione-corso-inline)) .brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--tlm-blue);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.02em;
}

:where(.registrazione-corso-inline) .site-header {
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 59, 115, .08);
    position: sticky;
    top: 0;
    z-index: 1020;
}

:where(.registrazione-corso-inline) .brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--tlm-blue);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.02em;
    font-size: 1.5rem;
}

.brand-mark img {
    max-height: 42px;
    width: auto;
}

:where(.registrazione-corso-offcanvas) .webinar-hero {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

:where(.registrazione-corso-inline) .webinar-hero {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

:where(.registrazione-corso-classico) .landing-main {
    padding: 3rem 0 4rem;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .landing-main {
    padding: 1.5rem 0 4rem;
}

:where(.registrazione-corso-landing) .section-anchor {
    scroll-margin-top: 110px;
}

:where(.registrazione-corso-landing) .hero-panel {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(0, 59, 115, .08);
    border-radius: 32px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 24px 70px rgba(16, 32, 51, .08);
}

.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .badge {
    font-size: 1rem;
}

:where(.registrazione-corso-landing) .badge {
    font-size: .95rem;
}

.badge-soft {
    color: var(--tlm-blue);
    background: #fff;
    border: 1px solid var(--tlm-border);
    font-weight: 700;
    padding: .55rem .85rem;
}

.badge-red {
    background: var(--tlm-red);
    color: #fff;
    font-weight: 700;
    padding: .55rem .85rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .hero-title {
    color: var(--tlm-blue-dark);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

:where(.registrazione-corso-classico) .hero-title {
    color: var(--tlm-blue-dark);
    font-size: clamp(2.1rem, 3vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

:where(.registrazione-corso-compatto, .registrazione-corso-quote, .registrazione-corso-riepilogo) .hero-title {
    color: var(--tlm-blue-dark);
    font-size: clamp(2.1rem, 3vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 800;
}

:where(.registrazione-corso-completo) .hero-title {
    color: var(--tlm-blue-dark);
    font-size: clamp(2.1rem, 3vw, 6rem);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 800;
}

.hero-title span {
    color: var(--tlm-red);
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .hero-description {
    max-width: 690px;
    font-size: 1.15rem;
    line-height: 1.65;
    color: #344054;
    margin-bottom: 1.6rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.8rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .info-pill {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--tlm-border);
    box-shadow: 0 12px 30px rgba(16, 32, 51, .05);
    min-height: 72px;
}

:where(.registrazione-corso-classico) .hero-description {
    max-width: 780px;
    font-size: 1.12rem;
    line-height: 1.65;
    color: #344054;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .hero-description {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #344054;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

:where(.registrazione-corso-landing) .info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .info-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-riepilogo, .registrazione-corso-completo) .info-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-completo) .info-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-landing) .info-pill {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--tlm-border);
    box-shadow: 0 12px 30px rgba(16, 32, 51, .05);
    min-height: 72px;
}

.info-pill i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    font-size: 1.05rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline, .registrazione-corso-classico) .info-pill small {
    display: block;
    color: var(--tlm-muted);
    font-size: .76rem;
    line-height: 1.1;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline, .registrazione-corso-classico) .info-pill strong {
    display: block;
    color: var(--tlm-dark);
    font-size: .92rem;
    line-height: 1.2;
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-selectable {
    cursor: pointer;
    margin-bottom: 0;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-selectable:hover {
    border-color: var(--tlm-blue);
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-selectable.is-selected {
    background: var(--tlm-soft-blue);
    box-shadow: 0 12px 30px rgba(16, 32, 51, .10);
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-check {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin: 0;
    border-radius: 12px;
    background: var(--tlm-soft-blue);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-check::after {
    content: "\2713";
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .15s ease, transform .15s ease;
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-check:checked {
    background: var(--tlm-blue);
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-check:checked::after {
    opacity: 1;
    transform: scale(1);
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill-check:focus-visible {
    outline: 2px solid var(--tlm-blue);
    outline-offset: 2px;
}

:where(.registrazione-corso-compatto, .registrazione-corso-quote) .info-pill small {
    display: block;
    color: var(--tlm-muted);
    font-size: .9rem;
    line-height: 1.1;
}

:where(.registrazione-corso-compatto, .registrazione-corso-quote) .info-pill strong {
    display: block;
    color: var(--tlm-dark);
    font-size: 1.25rem;
    line-height: 1.2;
}

:where(.registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill small {
    display: block;
    color: var(--tlm-muted);
    font-size: .9rem;
    line-height: 1.3;
}

:where(.registrazione-corso-riepilogo, .registrazione-corso-completo) .info-pill strong {
    display: block;
    color: var(--tlm-dark);
    font-size: 1.1rem;
    line-height: 1.2;
}

:where(html:not(.registrazione-corso-inline)) .btn-tlm-primary {
    background: var(--tlm-red);
    border-color: var(--tlm-red);
    color: #fff;
    box-shadow: 0 14px 28px rgba(196, 22, 28, .22);
}

:where(.registrazione-corso-inline) .btn-tlm-primary {
    background: var(--tlm-red);
    border-color: var(--tlm-red);
    color: #fff;
    box-shadow: 0 14px 28px rgba(196, 22, 28, .22);
    font-weight: 700;
}

.btn-tlm-primary:hover, .btn-tlm-primary:focus {
    background: var(--tlm-red-dark);
    border-color: var(--tlm-red-dark);
    color: #fff;
}

:where(html:not(.registrazione-corso-inline)) .btn-tlm-outline {
    color: var(--tlm-blue);
    border-color: rgba(0, 59, 115, .35);
    background: rgba(255,255,255,.75);
}

:where(.registrazione-corso-inline) .btn-tlm-outline {
    color: var(--tlm-blue);
    border-color: rgba(0, 59, 115, .35);
    background: rgba(255,255,255,.75);
    font-weight: 700;
}

.btn-tlm-outline:hover, .btn-tlm-outline:focus {
    background: var(--tlm-blue);
    border-color: var(--tlm-blue);
    color: #fff;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .summary-card {
    position: relative;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: var(--tlm-radius);
    padding: 1.6rem;
    box-shadow: 0 24px 70px rgba(16, 32, 51, .12);
    overflow: hidden;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .summary-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--tlm-blue), var(--tlm-red));
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .summary-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    border-radius: 18px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .summary-list li {
    display: flex;
    gap: .7rem;
    margin-bottom: .85rem;
    color: #344054;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .summary-list i {
    color: #12b76a;
    margin-top: .15rem;
}

:where(.registrazione-corso-offcanvas) .mini-program-card {
    margin-top: 1.4rem;
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 20px;
    padding: 1.2rem;
}

:where(.registrazione-corso-offcanvas) .mini-program-card ul {
    margin-bottom: 0;
}

:where(.registrazione-corso-offcanvas) .mini-program-card li {
    margin-bottom: .45rem;
}

:where(.registrazione-corso-inline) .content-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .section-soft {
    background: #fff;
    border-top: 1px solid rgba(0, 59, 115, .08);
    border-bottom: 1px solid rgba(0, 59, 115, .08);
}

:where(.registrazione-corso-offcanvas) .benefit-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: 0 14px 32px rgba(16, 32, 51, .05);
}

:where(.registrazione-corso-offcanvas) .benefit-card i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

:where(.registrazione-corso-offcanvas) .modal-content,
:where(.registrazione-corso-offcanvas) .offcanvas {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

:where(.registrazione-corso-offcanvas) .modal-header,
:where(.registrazione-corso-offcanvas) .offcanvas-header {
    background: linear-gradient(135deg, var(--tlm-blue), var(--tlm-blue-dark));
    color: #fff;
    border-bottom: 0;
    padding: 1.4rem 1.5rem;
}

:where(.registrazione-corso-offcanvas) .modal-header .text-muted,
:where(.registrazione-corso-offcanvas) .offcanvas-header .text-muted {
    color: rgba(255,255,255,.72) !important;
}

:where(.registrazione-corso-offcanvas) .modal-header .btn-close,
:where(.registrazione-corso-offcanvas) .offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: .85;
}

:where(.registrazione-corso-offcanvas) .modal-body,
:where(.registrazione-corso-offcanvas) .offcanvas-body {
    padding: 1.5rem;
}

:where(.registrazione-corso-landing) .quick-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.25rem;
}

:where(.registrazione-corso-landing) .quick-benefit {
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 20px;
    padding: 1rem;
}

:where(.registrazione-corso-landing) .quick-benefit i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    font-size: 1.1rem;
    margin-bottom: .75rem;
}

:where(.registrazione-corso-classico) .webinar-side-card {
    position: sticky;
    top: 50px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 24px 70px rgba(16, 32, 51, .12);
    overflow: hidden;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .webinar-side-card {
    position: sticky;
    top: 20px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 24px 70px rgba(16, 32, 51, .12);
    overflow: hidden;
}

:where(.registrazione-corso-landing) .webinar-side-card::before {
    content: "";
    display: block;
    height: 6px;
    margin: -1.5rem -1.5rem 1.4rem;
    background: linear-gradient(90deg, var(--tlm-blue), var(--tlm-red));
}

:where(.registrazione-corso-landing) .side-info-list {
    display: grid;
    gap: .8rem;
}

:where(.registrazione-corso-landing) .side-info-item {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 16px;
}

:where(.registrazione-corso-landing) .side-info-item i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    border-radius: 12px;
}

:where(.registrazione-corso-landing) .side-info-item small {
    display: block;
    color: var(--tlm-muted);
    font-size: .75rem;
}

:where(.registrazione-corso-landing) .side-info-item strong {
    display: block;
    font-size: .95rem;
}

:where(.registrazione-corso-landing) .section-card {
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 28px;
    padding: clamp(1.25rem, 2vw, 1.8rem);
    box-shadow: 0 18px 46px rgba(16, 32, 51, .06);
}

:where(.registrazione-corso-landing) .program-intro {
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 18px;
    padding: 1rem;
    margin-bottom: 1rem;
}

:where(html:not(.registrazione-corso-inline)) .accordion-button {
    font-family: 'Urbanist', system-ui, sans-serif;
    font-weight: 700;
    color: var(--tlm-dark);
}

:where(.registrazione-corso-inline) .accordion-button {
    font-family: 'Urbanist', system-ui, sans-serif;
    font-weight: 700;
    color: var(--tlm-dark);
    border-radius: 16px !important;
}

.accordion-button:not(.collapsed) {
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    box-shadow: none;
}

:where(html:not(.registrazione-corso-inline)) .accordion-item {
    border-color: rgba(0, 59, 115, .12);
}

:where(.registrazione-corso-offcanvas) .program-note {
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 18px;
    padding: 1rem;
}

:where(.registrazione-corso-offcanvas) .webinar-offcanvas {
    width: 50vw !important;
    border-radius: 0;
}

:where(.registrazione-corso-offcanvas) .stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-bottom: 1.3rem;
}

:where(.registrazione-corso-inline) .accordion-item {
    border-color: rgba(0, 59, 115, .12);
    border-radius: 16px !important;
    margin-bottom: 1rem;
    background: #fff;
}

:where(.registrazione-corso-inline) .form-container-card {
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 24px 70px rgba(16, 32, 51, .08);
}

:where(.registrazione-corso-inline) .stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-bottom: 2rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .step-item {
    position: relative;
    border-radius: 999px;
    padding: .75rem .8rem;
    background: #eef3f8;
    color: #6b7280;
    font-family: 'Urbanist', system-ui, sans-serif;
    font-weight: 700;
    font-size: .88rem;
    text-align: center;
}

:where(.registrazione-corso-landing) .registration-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    background: #fff;
    border-top: 1px solid rgba(0, 59, 115, .08);
}

:where(.registrazione-corso-landing) .registration-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 32px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    box-shadow: 0 24px 70px rgba(16, 32, 51, .10);
    overflow: hidden;
}

:where(.registrazione-corso-landing) .registration-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--tlm-blue), var(--tlm-red));
}

:where(.registrazione-corso-landing) .registration-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-landing) .stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin-bottom: 1.5rem;
}

:where(.registrazione-corso-landing) .step-item {
    border-radius: 999px;
    padding: .75rem .8rem;
    background: #eef3f8;
    color: #6b7280;
    font-family: 'Urbanist', system-ui, sans-serif;
    font-weight: 700;
    font-size: .88rem;
    text-align: center;
}

.step-item.active {
    color: #fff;
    background: var(--tlm-blue);
}

.step-item.completed {
    color: var(--tlm-blue);
    background: var(--tlm-soft-blue);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

:where(.registrazione-corso-landing) .form-panel {
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 22px;
    padding: 1.4rem;
}

.form-label {
    font-weight: 700;
    color: #344054;
}

.form-control, .form-select {
    border-radius: 14px;
    min-height: 48px;
    border-color: rgba(0, 59, 115, .18);
}

.form-control:focus, .form-select:focus {
    border-color: rgba(0, 59, 115, .55);
    box-shadow: 0 0 0 .25rem rgba(0, 59, 115, .10);
}

:where(html:not(.registrazione-corso-inline)) .participant-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
}

:where(.registrazione-corso-offcanvas) .participant-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

:where(.registrazione-corso-landing) .participant-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-classico, .registrazione-corso-compatto) .summary-box {
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 18px;
    padding: 1rem;
}

:where(.registrazione-corso-inline) .participant-card {
    position: relative;
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

:where(.registrazione-corso-inline) .participant-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 59, 115, .08);
}

:where(.registrazione-corso-inline) .summary-box {
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 18px;
    padding: 1.5rem;
}

:where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 0;
    border-bottom: 1px solid rgba(0, 59, 115, .08);
}

:where(.registrazione-corso-quote, .registrazione-corso-riepilogo, .registrazione-corso-completo) .summary-box {
    background: var(--tlm-light);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 18px;
    padding: 0 1rem;
}

:where(.registrazione-corso-landing) .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(0, 59, 115, .08);
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row span:first-child {
    color: var(--tlm-muted);
}

.summary-row span:last-child {
    font-weight: 700;
    text-align: right;
}

:where(.registrazione-corso-landing) .registration-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 59, 115, .10);
}

:where(.registrazione-corso-landing) .registration-actions .btn {
    min-width: 180px;
}

.mobile-sticky-cta {
    display: none;
}

:where(html:not(.registrazione-corso-inline)) footer.bg-dark {
    background-color: #071c31 !important;
}

:where(.registrazione-corso-inline) footer.bg-dark {
    background-color: #071c31 !important;
    position: relative;
    z-index: 10;
}

footer a {
    color: rgba(255,255,255,.7);
}

@media (max-width: 1199.98px) {
    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :where(.registrazione-corso-offcanvas) .webinar-offcanvas {
        width: 100vw !important;
        border-radius: 0;
    }

}

@media (max-width: 991.98px) {
    :where(.registrazione-corso-offcanvas) .webinar-hero {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 6.5rem;
    }

    :where(.registrazione-corso-offcanvas) .summary-card {
        margin-top: 1rem;
    }

    :where(.registrazione-corso-inline) .webinar-hero {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    :where(.registrazione-corso-inline) .form-container-card {
        padding: 1.5rem;
    }

}

@media (max-width: 767.98px) {
    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .info-grid {
        grid-template-columns: 1fr;
    }

    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .info-pill {
        min-height: auto;
    }

    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .hero-actions {
        display: none !important;
    }

}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .summary-card {
    position: relative;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: var(--tlm-radius);
    padding: 1.6rem;
    box-shadow: 0 24px 70px rgba(16, 32, 51, .12);
    overflow: hidden;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .summary-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--tlm-blue), var(--tlm-red));
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .summary-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tlm-soft-blue);
    color: var(--tlm-blue);
    border-radius: 18px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .summary-list li {
    display: flex;
    gap: .7rem;
    margin-bottom: .85rem;
    color: #344054;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .summary-list i {
    color: #12b76a;
    margin-top: .15rem;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .mini-program-card {
    margin-top: 1.4rem;
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .10);
    border-radius: 20px;
    padding: 1.2rem;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .mini-program-card ul {
    margin-bottom: 0;
}

:where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .mini-program-card li {
    margin-bottom: .45rem;
}

@media (max-width: 1199.98px) {
    :where(.registrazione-corso-landing) .info-grid,
    :where(.registrazione-corso-landing) .quick-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 991.98px) {
    :where(.registrazione-corso-landing) .landing-main {
        padding: 2rem 0 3rem;
    }

    :where(.registrazione-corso-landing) .webinar-side-card {
        position: static;
        margin-top: 1rem;
    }

    :where(.registrazione-corso-landing) .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    :where(.registrazione-corso-landing) .registration-header {
        display: block;
    }

    :where(.registrazione-corso-landing) .stepper {
        grid-template-columns: 1fr;
    }

    :where(.registrazione-corso-landing) .registration-actions {
        flex-direction: column-reverse;
    }

    :where(.registrazione-corso-landing) .registration-actions .btn {
        width: 100%;
    }

}

@media (max-width: 767.98px) {
    :where(.registrazione-corso-completo) .hero-top-actions {
        gap: 1rem;
        margin-bottom: 2.5rem !important;
    }

    :where(.registrazione-corso-completo) .hero-top-actions .brand-mark {
        margin-bottom: .25rem;
    }

    :where(.registrazione-corso-completo) .hero-top-actions .badge-red {
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        max-width: 100%;
    }

    :where(.registrazione-corso-completo) .hero-top-actions .btn-tlm-outline {
        width: 100%;
        white-space: normal;
        line-height: 1.4;
        padding: .7rem 1rem;
    }

    :where(.registrazione-corso-landing) .info-grid,
    :where(.registrazione-corso-landing) .quick-benefits {
        grid-template-columns: 1fr;
    }

    :where(.registrazione-corso-landing) .hero-panel,
    :where(.registrazione-corso-landing) .section-card,
    :where(.registrazione-corso-landing) .registration-card {
        border-radius: 22px;
    }

    :where(.registrazione-corso-landing) .step-item {
        text-align: left;
        border-radius: 14px;
    }

    .mobile-sticky-cta {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 59, 115, .10);
        padding: .85rem;
        box-shadow: 0 -16px 30px rgba(16, 32, 51, .10);
    }

    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .stepper {
        grid-template-columns: 1fr;
    }

    :where(.registrazione-corso-offcanvas, .registrazione-corso-inline) .step-item {
        text-align: left;
        border-radius: 16px;
    }

    :where(.registrazione-corso-offcanvas) .modal-dialog {
        margin: .75rem;
    }

    :where(.registrazione-corso-offcanvas) .modal-content {
        border-radius: 20px;
    }

    :where(.registrazione-corso-inline) body {
        padding-bottom: 80px;
    }

    :where(.registrazione-corso-landing:not(.registrazione-corso-classico)) .mini-program-card {
        margin-top: 0;
    }

}

:where(.registrazione-corso-completo) .form-submit-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(7, 28, 49, .58);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

:where(.registrazione-corso-completo) .form-submit-loader.is-visible {
    display: flex;
}

:where(.registrazione-corso-completo) .form-submit-loader-card {
    width: min(100%, 360px);
    padding: 2rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0, 59, 115, .12);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(16, 32, 51, .22);
}

:where(.registrazione-corso-completo) .form-submit-loader-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border: 5px solid var(--tlm-soft-blue);
    border-top-color: var(--tlm-red);
    border-radius: 50%;
    animation: formSubmitLoaderSpin .8s linear infinite;
}

:where(.registrazione-corso-completo) .form-submit-loader-title {
    margin: 0 0 .35rem;
    color: var(--tlm-blue-dark);
    font-family: 'Urbanist', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

:where(.registrazione-corso-completo) .form-submit-loader-text {
    margin: 0;
    color: var(--tlm-muted);
    font-size: .95rem;
}

@keyframes formSubmitLoaderSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    :where(.registrazione-corso-completo) .form-submit-loader-spinner {
        animation-duration: 1.6s;
    }

}

:where(.registrazione-corso-completo) .hightlight {
    background-color: yellow;
    border-radius: 5px;
    padding: 3px 6px;
    font-weight: 700;
}
