body.inscription {
    min-height: 100vh;
}

@media (min-width: 1200px) {
    body.inscription .col-xl-5 {
        -ms-flex: 0 0 35%;
        flex: 0 0 35%;
        max-width: 35%;
    }
}

@media (min-width: 1200px) {
    body.inscription .col-xl-7 {
        -ms-flex: 0 0 65%;
        flex: 0 0 65%;
        max-width: 65%;
    }
}

.btn-help {
    color: var(--black);
    border: 1px solid var(--black);
    border-radius: 20px;
    padding: 9px 20px;
    font-size: calc(1* var(--basePX) + 4px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: bold;
    letter-spacing: 0px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.btn-help:hover {
    text-decoration: none;
}

/* ── Progress bar ── */
.progress-wrapper {
    margin-bottom: 6px;
    position: relative;
    padding-top: 22px;
}

.progress {
    height: 16px;
    border-radius: 8px;
    background: #C2BFBF 0% 0% no-repeat padding-box;
    overflow: visible;
}
.progress-bar {
    background: var(--main-color_esn-forfait) 0% 0% no-repeat padding-box;
    border-radius: 8px;
    opacity: 1;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    margin-bottom: 28px;
}
.progress-steps .ps {
    font-size: calc(1* var(--basePX) + 3px);
    font-weight: 600;
    letter-spacing: 0px;
    line-height: 1.2;
    color: #C2BFBF;
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}
.progress-steps .ps.active,
.progress-steps .ps.done { color: var(--black); }
/* ── Layout ── */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: 81px;
}

/* ── Left panel ── */
.left-panel {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.left-panel h1 {
    font-size:  calc(1* var(--basePX) + 22px);
    font-weight: 700;
    letter-spacing: 0px;
    text-align: center;
    font-family: 'Poppins-Medium', sans-serif;
}

.left-panel h2 {
    font-size:  calc(1* var(--basePX) + 10px);
    font-weight: 600;
    letter-spacing: 0px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--black);
    text-transform: uppercase;
    font-family: 'Poppins-Bold', sans-serif;
}

.left-form-content .description {
    font-size: calc(1* var(--basePX) + 6px);
    color: var(--black);
    line-height: calc(1* var(--basePX) + 6px);
    letter-spacing: 0px;
    margin-bottom: 32px;
    font-family: 'Poppins-Medium', sans-serif;
    text-align: center;
}

.left-form-content .waiting-label {
    font-size: calc(1* var(--basePX) + 6px);
    color: var(--black);
    line-height: calc(1* var(--basePX) + 6px);
    letter-spacing: 0px;
    margin-bottom: 14px;
    font-family: 'Poppins-Medium', sans-serif;
    text-align: center;
}

.btn-outline-custom {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: calc(1* var(--basePX) + 5px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.btn-outline-custom:hover {
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    text-decoration: none;
}

/* ── Password hint ── */
.password-hint {
    font-size: calc(1* var(--basePX) + 4px);
    font-family: 'Poppins-Regular', sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 24px;
}

.password-user {
    font-size: calc(1* var(--basePX) + 6px);
    font-family: 'Poppins-Regular', sans-serif;
    letter-spacing: 0px;
    text-align: center;
    color: var(--main-color_esn-forfait);
    line-height: 1.2;
    margin-bottom: 24px;
}

.left-form-content {
    padding: 40px 48px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.left-form-content .error-feedback ul {
    list-style-type: none;
    padding-inline-start: unset;
}

/* ── Radio civilité ── */
.civilite-group {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}
.civilite-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins-Regular', sans-serif;
    cursor: pointer;
    color: var(--black);
}
.civilite-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--main-color_esn-forfait);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.civilite-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    background: var(--main-color_esn-forfait);
    border-radius: 50%;
}
/* ── Form fields ── */
.form-label {
    font-size: calc(1* var(--basePX) + 5px);
    line-height: calc(1* var(--basePX) + 9px);
    font-weight: 600;
    letter-spacing: 0px;
    color: var(--main-color_esn-forfait);
    margin-bottom: 6px;
    display: block;
    text-align: center;
    font-family: 'Poppins-Medium', sans-serif;
}
input.form-control,
select.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 28px;
    padding: 10px 18px;
    background: var(--white) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    transition: border-color 0.2s;
    height: 55px;
}
.form-control:focus {
    border-color: var(--main-color_esn-forfait);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,107,186,0.1);
}
.form-group { margin-bottom: 20px; }

/* Password wrapper with toggle eye */
.input-password-wrapper {
    position: relative;
}

.input-password-wrapper .form-control {
    padding-right: 44px;
}

.btn-toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #aaa;
    display: flex;
    align-items: center;
}

.btn-toggle-password:hover { color: #1a6bba; }
/* ── Source select ── */
.source-label {
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Poppins-Regular', sans-serif;
    text-align: center;
    color: var(--black);
    margin-bottom: 10px;
}

/* ── CGU checkbox ── */
.cgu-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}
.cgu-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--main-color_esn-forfait);
    cursor: pointer;
}
.cgu-wrapper label {
    font-size: 0.85rem;
    font-family: 'Poppins-Regular', sans-serif;
    color: var(--black);
    margin: 0;
    cursor: pointer;
}
.cgu-wrapper label a {
    font-weight: 700;
    font-family: 'Poppins-Regular', sans-serif;
    color: var(--black);
    text-decoration: none;
}
.cgu-wrapper label a:hover { text-decoration: underline; }

/* ── Submit button ── */
.btn-subscribe {
    background: var(--secondary-color_abonnement);
    color: var(--white);
    border: 1px solid var(--secondary-color_abonnement);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: calc(1* var(--basePX) + 5px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.btn-subscribe:hover {
    background: var(--white);
    color: var(--secondary-color_abonnement);
    border: 1px solid var(--secondary-color_abonnement);
    text-decoration: none;
}

.btn-primary-custom,
.btn-submit,
.btn-next {
    background: var(--main-color_esn-forfait);
    color: var(--white);
    border: 1px solid var(--main-color_esn-forfait);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: calc(1* var(--basePX) + 5px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    margin-bottom: 8px;
}
.btn-primary-custom:hover,
.btn-submit:hover,
.btn-next:hover { 
    background: var(--white);
    color: var(--main-color_esn-forfait);
    border: 1px solid var(--main-color_esn-forfait);
    text-decoration: none;
}

.btn-outline-custom,
.btn-primary-custom {
    width: 227px;
}

.btn-add-user {
    background: #65C9F6;
    color: var(--black);
    border: 1px solid #65C9F6;
    border-radius: 30px;
    padding: 7px 20px;
    font-size: calc(1* var(--basePX) + 5px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-add-user:hover {
    background: var(--white);
    color: var(--black);
    border: 1px solid #65C9F6;
    text-decoration: none;
}

.btn-prev {
    background: var(--white);
    color: var(--main-color_esn-forfait);
    border: 1px solid var(--main-color_esn-forfait);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: calc(1* var(--basePX) + 5px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 8px;
    transition: background 0.2s, border-color 0.2s;
    width: 120px;
}

.btn-prev-user {
    background: var(--white);
    color: var(--main-color_esn-forfait);
    border: 1px solid var(--main-color_esn-forfait);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: calc(1* var(--basePX) + 5px);
    font-family: "Poppins-Medium", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-prev:hover,
.btn-prev-user:hover {
    background: var(--main-color_esn-forfait);
    color: var(--white);
    text-decoration: none;
}
/* ── Right panel ── */
.right-panel {
    flex: 1;
    background: #BEEBFF 0% 0% no-repeat padding-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.right-panel .headline {
    font-size: calc(1* var(--basePX) + 6px);
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
    font-family: 'Poppins-Bold', sans-serif;
}
.right-panel .subtext {
    font-size: calc(1* var(--basePX) + 6px);
    text-align: center;
    max-width: 600px;
    color: var(--black);
    line-height: 1.5;
    margin-bottom: 15px;
    font-family: 'Poppins-Regular', sans-serif;
}
.right-panel .subtext + .subtext { margin-bottom: 20px; }
.right-panel .welcome-title {
    font-size: calc(1* var(--basePX) + 8px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
    letter-spacing: 0px;
    font-family: 'Poppins-Bold', sans-serif;
    text-align: center;
}

.right-panel .welcome-text {
    font-size: calc(1* var(--basePX) + 8px);
    color: var(--black);
    letter-spacing: 0px;
    line-height: calc(1* var(--basePX) + 8px);
    margin-bottom: 28px;
    font-family: 'Poppins-Medium', sans-serif;
    text-align: center;
}

.right-panel .cta-label {
    font-size: calc(1* var(--basePX) + 8px);
    font-weight: 800;
    letter-spacing: 0px;
    color: var(--black);
    margin-bottom: 20px;
    font-family: 'Poppins-Bold', sans-serif;
    text-align: center;
}
.illustration {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Eligibility box */
.eligibility-box {
    border: 1.5px solid var(--black);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: calc(1* var(--basePX) + 4px);
    line-height: 1.1;
    text-align: center;
    background: transparent;
    max-width: 750px;
    width: 100%;
    font-family: 'Poppins-Medium', sans-serif;
    margin-bottom: 16px;
}
.eligibility-box .title {
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 8px;
}
.eligibility-box p { margin: 0 0 4px; }

.eligibility-box a {
    font-weight: 700;
    color: var(--black);
}

.eligibility-box a:hover {
    color: #0056b3;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
select.form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a6bba' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ── Users section ── */
.users-section-title {
    font-size: calc(1* var(--basePX) + 5px);
    line-height: calc(1* var(--basePX) + 9px);
    font-weight: 600;
    letter-spacing: 0px;
    color: var(--main-color_esn-forfait);
    text-align: center;
    margin: 8px 0 14px;
    font-family: 'Poppins-Medium', sans-serif;
}
.user-item {
    display: flex;
    align-items: center;
    border: 1px solid var(--main-color_esn-forfait);
    border-radius: 9px;
    padding: 10px 16px;
    margin-bottom: 10px;
    background: var(--white) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    gap: 10px;
}


@media (max-width: 425px) {
    .user-item {
        flex-direction: column;
    }
}

.user-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--black);
}
.user-name {
    flex: 1;
    font-size: calc(1* var(--basePX) + 5px);
    letter-spacing: 0px;
    font-weight: 500;
    font-family: 'Poppins-Medium', sans-serif;
    color: var(--black);
}
.user-badge {
    font-size: calc(1* var(--basePX) + 4px);
    letter-spacing: 0px;
    font-weight: 500;
    font-family: 'Poppins-Medium', sans-serif;
    font-style: italic;
    color: var(--black);
    background: #BEEBFF 0% 0% no-repeat padding-box;
    border-radius: 20px;
    box-shadow: 0px 3px 6px #00000029;
    padding: 2px 0px;
    white-space: nowrap;
    width: 90px;
    text-align: center;
}
.user-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 4px;
}
.user-actions button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--black);
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
}
.user-actions button:hover { color: var(--main-color_esn-forfait); }
.user-actions .btn-delete:hover { color: #e74c3c; }

@media (max-width: 991.98px) {
    .page-wrapper { flex-direction: column; }
    .left-form-content { padding: 32px 24px; }
    .illustration { height: auto; }
}

.page-navigation {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.page-navigation .btn-next {
    width: 120px;
}