body, .app-main {
      background: transparent;
      height: fit-content;
    }
    .container-fluid {
      background-color: #fbfbfe;
      background-image: url('https://compte.pascale.ai/assets/img/bg-pattern.png') !important;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
    }
    .container-custom {
      width: 100%;
      max-width: 790px;
      min-height: 90dvh;
      background-color: #fbfbfe;
      background-image: url('https://compte.pascale.ai/assets/img/bg-pattern.png') !important;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
    }
.container-custom.step-3-active {
  max-width: 1100px;
}
.auth-wrapper {
  min-height: 90dvh;
}
.auth-login-row {
  flex: 1;
  min-height: 70dvh;
}
h2 { font-size: 40px !important; }
    h3 {
      font-weight: 600;
      font-size: 32px !important;
      text-align: center;
      line-height: 1.3;
    }
    h5 {
      font-size: 18px !important;
    }
    .text-primary, h2, .link-connexion a {
      color: #5451D7 !important;
    }

    .line {
      width: 80%;
      max-width: 600px;
      height: 3px;
      background: #F08AF4;
      background: linear-gradient(90deg,
        rgba(240, 138, 244, 1) 0%,
        rgba(78, 68, 219, 1) 30%,
        rgba(156, 108, 254, 1) 50%);
      opacity: 0.5;
    }

    .container-custom a {
      text-decoration: none;
      color: black;
    }

    .card-compte {
      background-color: white;
      border: 1px solid #D9D9D9;
      border-radius: 8px;
      width: 380px;
      padding: 25px 75px;
      text-align: center;
      transition: all 0.2s ease;
      cursor: pointer;
    }
    .card-compte:hover {
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
      background-color: #E7EBFF;
      border-color: #5451D7;
    }

    .link-connexion {
      font-size: 12px !important;
    }
    .link-connexion a, .wizard-step a {
      font-weight: 600;
      text-decoration: none;
    }
    .link-connexion a:hover, .wizard-step a:hover {
      text-decoration: underline;
    }

    .btn-primary {
      background-color: #5451D7;
      border-color: #5451D7;
    }
    .btn-primary:hover {
      background-color: #4743ba;
      border-color: #4743ba;
    }
    .wizard-card {
      background: white;
      border: 1px solid #D9D9D9;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
      max-width: 700px;
      margin: 0 auto;
      padding: 30px;
      height: fit-content;
    }
    .wizard-card.step-3-card {
      max-width: 900px;
      width: 100%;
    }
    .wizard-card.small {
      max-width: 320px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    .wizard-card.medium {
      width: 100%;
      max-width: 450px;
    }
    .wizard-card.grey {
      background-color: #F4F4F6;
      border: none;
      padding: 20px;
    }
    .wizard-step {
      display: none;
    }
    .wizard-step.active {
      display: block;
    }
    .step-indicator {
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 700px;
      margin: 0 auto;
    }
    .step-bullet {
      width: 40px;
      height: 40px;
      border-radius: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 400;
      font-size: 18px !important;
      background-color: #D9D9D9;
      color: #1C1C1C;
      transition: all 0.2s ease;
    }
    .step-bullet.active {
      background-color: #5451D7;
      color: white;
    }
    .step-divider {
      flex: 1;
      height: 3px;
      background: #969191;
    }
    .step-divider.active {
      background-color: #5451D7;
    }
    .form-label {
      font-weight: 600;
      color: #2b2b2b;
    }
    .formule-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 15px;
      width: 100%;
    }
    .formule-card {
      background-color: #D9D9D9;
      border: 1px solid #D9D9D9;
      border-radius: 10px;
      padding: 0;
      cursor: pointer;
    }
    .formule-card.active {
      background-color: #5451D7;
      border-color: #5451D7;
      box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.15);
    }
    .formule-card h6 {
      font-size: 18px;
      font-weight: 600;
      width: 100%;
      text-align: center;
      padding: 10px 0;
      margin-bottom: 0;
    }
    .formule-card.active h6 {
      color: white;
    }
    .formule-card .formule-detail {
      border-radius: 9px;
      background-color: white;
    }
    .formule-card .formule-detail p {
      margin-bottom: 0;
    }

    .v-line {
      width: 1.4px;
      height: 90px;
      background-color: #5451D7;
      margin: auto 10px;
    }

    .step-3-section i {
      font-size: 22px;
    }

    .matiere-item {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      width: calc(33.3% - 0.33rem);
      min-height: 60px;
      border-radius: 8px;
      padding: 0 20px;
      border: 1px solid #D9D9D9;
      background-color: white;
      font-size: 18px;
      cursor: pointer;
    }
    .matiere-item:hover {
      color: #5451D7;
      border-color: #5451D7;
    }
    .matiere-item.active {
      background-color: #E7EBFF;
      border-color: #5451D7;
    }
    .matiere-item.disabled {
      color: #969191;
      background-color: #f4f4f6;
      cursor: default;
    }
    .matiere-item.disabled:hover {
      border-color: #D9D9D9;
    }

    .badge-soft {
      background: #f2f1ff;
      color: #5451D7;
      border: 1px solid #e6e4ff;
      font-weight: 600;
    }
    .field-group {
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #D9D9D9;
      border-radius: 10px;
      padding: 5px 10px;
      background: white;
    }
    .field-group input {
      flex: 1;
      border: none;
      outline: none;
      box-shadow: none !important;
      padding: 0 5px;
      height: 50px;
    }
    .field-icon {
      color: #1C1C1C;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 20px !important;
    }
    .field-icon-btn {
      border: none;
      background: transparent;
      padding: 0;
      color: #5451D7;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .field-icon-btn:focus {
      outline: none;
    }
    .wizard-adulte .only-mineur {
      display: none !important;
    }
    .wizard-adulte .only-mineur {
      display: none !important;
    }

    .step-3-section {
      align-items: flex-start;
      flex-direction: row;
      gap: 16px;
    }
    .step-3-section .wizard-card {
      width: 700px;
      margin: 0;
    }
    .step-3-section .recap-card-wrapper {
      position: relative;
      align-self: flex-start;
      flex: 0 0 310px;
    }
    .step-3-section .recap-card {
      width: 310px;
      height: fit-content;
      background-color: white;
      border: 1px solid #D9D9D9;
      border-radius: 12px;
    }

    .recap-card-fixed {
      position: fixed;
      top: 20px;
      z-index: 5;
    }

    .recap-line {
      width: 100%;
      height: 1px;
      background-color: #F4F4F6;
      margin: 20px 0;
    }

    .promo-input {
      width: 100%;
      height: 25px;
      border: 1px solid #969191;
      border-radius: 50px;
      margin: 10px 0 20px;
    }
    .promo-input input {
      border: none;
      background-color: transparent;
      padding: 0 10px;
      outline: none;
    }
    .promo-input button {
      border: none;
      border-radius: 0 50px 50px 0;
      color: #969191;
      background-color: #F4F4F6;
      font-size: 14px;
      padding: 1px 10px;
    }

    @media (max-width: 991px) {
      h2 { font-size: 32px !important; }
      h3 { font-size: 26px !important; }
      .container-custom {
        min-height: auto;
        padding: 0 16px 32px;
      }
      .wizard-card {
        padding: 20px;
      }
      .step-3-section {
        flex-direction: column;
        align-items: center;
      }
      .step-3-section .wizard-card,
      .step-3-section .recap-card-wrapper,
      .step-3-section .recap-card {
        width: 100%;
        max-width: 700px !important;
        margin: 0 auto;
      }
      .step-3-section .recap-card-wrapper {
        flex: 0 0 auto;
        position: static;
      }
      .recap-card-fixed {
        position: static;
        top: auto;
        left: auto;
      }
      .card-compte {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
      }
      .step-indicator {
        max-width: 100%;
      }
      .step-bullet {
        width: 32px;
        height: 32px;
        font-size: 16px !important;
      }
      .step-divider {
        height: 2px;
      }
      .matiere-item {
        width: 48%;
        min-width: 160px;
      }
      .step-3-section .wizard-card {
        width: 100%;
      }
    }

    @media (max-width: 575px) {
      h2 { font-size: 26px !important; }
      h3 { font-size: 22px !important; }
      .line {
        width: 100%;
      }
      #intro-block .d-flex.gap-3 {
        flex-direction: column;
      }
      .card-compte {
        padding: 20px;
      }
      .wizard-card {
        padding: 16px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
      }
      .wizard-card.step-3-card {
        padding: 16px;
      }
      .field-group {
        align-items: stretch;
      }
      .field-group input {
        width: 100%;
      }
      .formule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .benefits-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }
      .benefits-card .v-line {
        width: 40%;
        height: 2px;
      }
      .benefits-item {
        align-items: center !important;
        text-align: left;
        width: 100%;
      }
      .benefits-item p {
        text-align: left;
      }
      .niveau-card .niveau-radios {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }
      .niveau-card .niveau-radios > div {
        align-items: flex-start !important;
      }
      .niveau-card .classe-select-col {
        width: 100% !important;
      }
      .niveau-card select {
        width: 100%;
      }
      .step-3-section .wizard-card {
        margin-bottom: 0;
      }
      .matiere-item {
        width: 100%;
      }
      .container-custom.step-3-active {
        max-width: 100%;
      }
    }
