<style>
  html.saltacoda-cliente-page {
    --card-accent: {{ $accent }};
    --text-main: #15265c;
    --text-muted: #5b6579;
    --purple: #602d91;
    --orange: #f58220;
    --fest-surface: #ffffff;
    --fest-border: color-mix(in srgb, var(--text-main) 10%, transparent);
    --fest-shadow: rgba(21, 38, 92, 0.08);
  }

  html.saltacoda-cliente-page,
  html.saltacoda-cliente-page body {
    height: 100%;
    margin: 0;
    background: #f6f7fb;
    font-family: "Plus Jakarta Sans", "Public Sans", system-ui, sans-serif;
    color: var(--text-main);
  }

  html.saltacoda-cliente-page .layout-wrapper,
  html.saltacoda-cliente-page .content-wrapper,
  html.saltacoda-cliente-page .layout-page,
  html.saltacoda-cliente-page .container-xxl {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  html.saltacoda-cliente-page .d-flex.flex-column.min-vh-100 {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }

  html.saltacoda-cliente-page .misc-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    align-items: stretch;
    justify-content: stretch;
    text-align: start;
    background: transparent;
  }

  html.saltacoda-cliente-page .row.mt-3.mb-3,
  html.saltacoda-cliente-page footer,
  html.saltacoda-cliente-page .content-footer {
    display: none !important;
  }

  .saltacoda-cliente {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: inherit;
  }

  .saltacoda-cliente__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(145deg, #fff6ee 0%, #f3ebf8 38%, #e6edf8 100%);
  }

  .saltacoda-cliente__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 8% 18%, color-mix(in srgb, var(--card-accent) 35%, transparent) 0%, transparent 58%),
      radial-gradient(ellipse 65% 45% at 92% 82%, rgba(96, 45, 145, 0.22) 0%, transparent 55%);
  }

  .saltacoda-fest-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 1rem 0.7rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(21, 38, 92, 0.08);
    box-shadow: 0 1px 10px rgba(21, 38, 92, 0.05);
  }

  .saltacoda-fest-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent) 0%, var(--purple) 55%, var(--text-main) 100%);
    opacity: 0.85;
  }

  .saltacoda-fest-topbar__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--card-accent) 10%, #fff);
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .saltacoda-fest-topbar__back:hover {
    color: var(--orange);
    background: color-mix(in srgb, var(--card-accent) 16%, #fff);
  }

  .saltacoda-fest-topbar__title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }

  .saltacoda-fest-topbar__brand img {
    display: block;
    height: 1.45rem;
    width: auto;
    opacity: 0.92;
    flex-shrink: 0;
  }

  .saltacoda-fest-btn,
  .saltacoda-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 0.7rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--card-accent) 92%, #fff) 0%,
      color-mix(in srgb, var(--card-accent) 78%, #15265c) 100%
    );
    box-shadow: 0 8px 18px color-mix(in srgb, var(--card-accent) 32%, transparent);
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .saltacoda-fest-btn:hover,
  .saltacoda-send-btn:not(:disabled):hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--card-accent) 38%, transparent);
  }

  .saltacoda-fest-btn--sm {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .saltacoda-send-btn:disabled {
    background: color-mix(in srgb, var(--text-main) 12%, #fff);
    color: var(--text-muted);
    box-shadow: none;
    transform: none;
  }

  .sc-istruzione-panel {
    background: color-mix(in srgb, var(--card-accent) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
    border-radius: 0.95rem;
    padding: 0.95rem;
    margin-bottom: 0;
  }

  .sc-istruzione-panel__title {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
  }

  .sc-istruzione-panel__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    white-space: pre-wrap;
  }

  .sc-step-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--text-main) 42%, transparent);
    backdrop-filter: blur(4px);
  }

  .sc-step-overlay[hidden] {
    display: none !important;
  }

  .sc-step-sheet {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: calc(100dvh - 5.5rem - env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--fest-surface);
    border: 1px solid var(--fest-border);
    border-radius: 1.1rem 1.1rem 0.95rem 0.95rem;
    box-shadow: 0 -10px 36px var(--fest-shadow);
    padding: 1.15rem 1rem calc(1rem + env(safe-area-inset-bottom));
    font-family: inherit;
  }

  .sc-step-sheet::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 1.1rem 1.1rem 0 0;
    background: linear-gradient(90deg, var(--card-accent) 0%, var(--purple) 55%, var(--text-main) 100%);
    opacity: 0.9;
  }

  .sc-step-sheet--center {
    border-radius: 1.1rem;
    margin: auto 0;
    max-height: calc(100dvh - 6rem);
  }

  .sc-step-sheet--center::before {
    border-radius: 1.1rem 1.1rem 0 0;
  }

  .sc-step-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .sc-step-actions .saltacoda-fest-btn,
  .sc-step-actions .sc-step-btn-secondary {
    flex: 1;
  }

  .sc-step-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid var(--fest-border);
    border-radius: 0.7rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: inherit;
    background: var(--fest-surface);
    color: var(--text-main);
  }

  .sc-wizard-pane[hidden] {
    display: none !important;
  }

  .sc-wizard-pane {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .sc-wizard-pane__head {
    flex-shrink: 0;
    padding-bottom: 0.75rem;
  }

  .sc-wizard-pane__body {
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sc-wizard-pane__foot {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--fest-border);
  }

  .sc-wizard-step-badge {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-main);
    background: color-mix(in srgb, var(--card-accent) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--card-accent) 24%, transparent);
  }

  .sc-wizard-pane__heading {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
  }

  .sc-wizard-pane__hint {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
  }

  .sc-info-fields-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.25rem;
    min-width: 0;
    width: 100%;
  }

  .sc-checkout-wizard--info .sc-wizard-pane__head {
    background: var(--fest-surface);
    border-bottom: 1px solid var(--fest-border);
  }

  .sc-checkout-wizard--info .sc-wizard-pane__body {
    background: color-mix(in srgb, var(--text-main) 5%, #eef2f8);
  }

  .sc-info-field-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--text-main) 11%, transparent);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow:
      0 10px 24px rgba(21, 38, 92, 0.09),
      0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }

  .sc-info-field-card--error {
    border-color: color-mix(in srgb, #d14343 48%, transparent);
    background: #fffafa;
    box-shadow:
      0 10px 24px rgba(209, 67, 67, 0.1),
      0 0 0 1px rgba(209, 67, 67, 0.08) inset;
  }

  .sc-info-field-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--text-main) 7%, transparent);
  }

  .sc-info-field-card__label {
    display: block;
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .sc-info-field-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.2;
    color: var(--text-muted);
  }

  .sc-info-field-card__index {
    font-weight: 700;
    color: var(--text-muted);
  }

  .sc-info-field-card__sep {
    color: color-mix(in srgb, var(--text-muted) 55%, transparent);
    font-weight: 700;
  }

  .sc-info-field-card__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: color-mix(in srgb, var(--text-main) 5%, #fff);
    border: 1px solid var(--fest-border);
  }

  .sc-info-field-card__pill--required {
    color: color-mix(in srgb, var(--card-accent) 75%, #15265c);
    background: color-mix(in srgb, var(--card-accent) 10%, #fff);
    border-color: color-mix(in srgb, var(--card-accent) 24%, transparent);
  }

  .sc-info-field-card__control-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.3rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--text-main) 4.5%, #f5f7fb);
    border: 1px solid color-mix(in srgb, var(--text-main) 8%, transparent);
  }

  .sc-info-field-card__control {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 3rem;
    margin: 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid color-mix(in srgb, var(--text-main) 14%, transparent);
    border-radius: 0.72rem;
    background: #fff;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: inset 0 1px 2px rgba(21, 38, 92, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }

  input[type="time"].sc-info-field-card__control {
    display: block;
    width: 100%;
    max-width: 100%;
    -webkit-min-logical-width: 0;
  }

  select.sc-info-field-card__control {
    padding-right: 2.2rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6579' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
  }

  .sc-info-field-card__control::placeholder {
    color: color-mix(in srgb, var(--text-muted) 80%, transparent);
    font-weight: 500;
  }

  .sc-info-field-card__control:focus {
    outline: none;
    background: #fff;
    border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
    box-shadow:
      inset 0 1px 2px rgba(21, 38, 92, 0.04),
      0 0 0 0.18rem color-mix(in srgb, var(--card-accent) 18%, transparent);
  }

  .sc-info-field-card__control.is-invalid {
    border-color: #d14343;
    box-shadow: 0 0 0 0.15rem rgba(209, 67, 67, 0.12);
  }

  .sc-info-field-card__error {
    display: none;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d14343;
    line-height: 1.35;
  }

  .sc-info-field-card--error .sc-info-field-card__error {
    display: block;
  }

  body.sc-wizard-open .saltacoda-footbar {
    visibility: hidden;
    pointer-events: none;
  }

  @media (max-width: 767.98px) {
    .sc-checkout-wizard--info {
      align-items: stretch;
      padding: 0;
      background: color-mix(in srgb, var(--text-main) 5%, #eef2f8);
    }

    .sc-checkout-wizard--info .sc-checkout-wizard__sheet {
      width: 100%;
      max-width: none;
      height: 100dvh;
      max-height: 100dvh;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 0 0;
      display: flex;
      flex-direction: column;
      background: transparent;
    }

    .sc-checkout-wizard--info .sc-wizard-pane--info {
      flex: 1;
      min-height: 0;
    }

    .sc-checkout-wizard--info .sc-wizard-pane__head {
      padding: 0 1rem 0.85rem;
      margin-bottom: 0;
    }

    .sc-checkout-wizard--info .sc-wizard-pane__body {
      padding: 0.85rem 1rem 0.85rem;
    }

    .sc-info-fields-wrap {
      gap: 0.9rem;
    }

    .sc-info-field-card {
      padding: 1rem;
      gap: 0.8rem;
    }

    .sc-info-field-card__label {
      font-size: 1.05rem;
    }

    .sc-info-field-card__control {
      min-height: 3.1rem;
      font-size: 1.02rem;
    }

    .sc-checkout-wizard--info .sc-wizard-pane__foot {
      padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
      background: var(--fest-surface);
      box-shadow: 0 -8px 24px var(--fest-shadow);
    }

    .sc-checkout-wizard--info .sc-step-actions {
      margin-top: 0;
    }

    .sc-checkout-wizard--confirm {
      padding-bottom: 0;
    }

    .sc-checkout-wizard--confirm .sc-checkout-wizard__sheet {
      display: flex;
      flex-direction: column;
      max-height: min(88dvh, 640px);
    }

    .sc-checkout-wizard--confirm .sc-wizard-pane--confirm {
      flex: 1;
      min-height: 0;
    }

    .sc-checkout-wizard--confirm .sc-wizard-pane__head {
      padding: 0 0 0.65rem;
    }

    .sc-checkout-wizard--confirm .sc-wizard-pane__foot {
      padding-top: 0.75rem;
      padding-bottom: calc(0.25rem + env(safe-area-inset-bottom));
    }
  }

  @media (min-width: 768px) {
    .sc-checkout-wizard__sheet {
      display: flex;
      flex-direction: column;
      max-height: min(82dvh, 720px);
    }

    .sc-wizard-pane__head {
      padding-bottom: 0.85rem;
    }

    .sc-wizard-pane__foot {
      margin-top: 0.25rem;
    }
  }

  .sc-step-sheet .sc-istruzione-panel {
    background: transparent;
    border: 0;
    padding: 0;
  }

  .sc-step-sheet .sc-istruzione-panel__title {
    font-size: 1.15rem;
  }

  .saltacoda-cliente .form-control,
  .saltacoda-cliente .form-select {
    border-color: var(--fest-border);
    border-radius: 0.65rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.92rem;
  }

  .saltacoda-cliente .form-control:focus,
  .saltacoda-cliente .form-select:focus {
    border-color: color-mix(in srgb, var(--card-accent) 45%, transparent);
    box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--card-accent) 18%, transparent);
  }

  .saltacoda-cliente .form-label {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.86rem;
  }

  .saltacoda-cliente .text-muted {
    color: var(--text-muted) !important;
  }
</style>
