#signup_section_choice .fa, #signup_section_choice .fa-solid {
    font-size: 70px;
}

.block-type-account {
    cursor: pointer;
    border: 1px solid rgb(214, 214, 214);
    width: 33.3%;
}

.block-type-account:hover {
    box-shadow: 1px 3px 16px rgba(0, 0, 0, 0.49);
}

.input-number-persons {
    width: 50px;
    display: inline-block;
    background: transparent !important;
    text-align: center;
    padding: 6px !important;
    height: 40px !important;
}

a#localizeBtn:hover {
    text-decoration: underline;
}

.c4 {
    margin-left: -28.3pt;
    padding-top: 0pt;
    padding-bottom: 0pt;
    line-height: 1.5;
    orphans: 2;
    widows: 2;
    text-align: left;
    margin-right: -37.5pt;
    height: 11pt
sgh}

.c1 {
    margin-left: -28.3pt;
    padding-top: 0pt;
    padding-bottom: 0pt;
    line-height: 1.5;
    orphans: 2;
    widows: 2;
    text-align: justify;
    margin-right: -37.5pt;
    height: 11pt
}

.c2 {
    margin-left: -28.3pt;
    padding-top: 0pt;
    padding-bottom: 0pt;
    line-height: 1.5;
    orphans: 2;
    widows: 2;
    text-align: justify;
    margin-right: -37.5pt
}

.c5 {
    margin-left: -28.3pt;
    padding-top: 0pt;
    padding-bottom: 0pt;
    line-height: 1.5;
    orphans: 2;
    widows: 2;
    text-align: left;
    margin-right: -37.5pt
}

.c3 {
    margin-left: -28.3pt;
    padding-top: 0pt;
    padding-bottom: 0pt;
    line-height: 1.5;
    orphans: 2;
    widows: 2;
    text-align: right;
    margin-right: -37.5pt
}

.c0 {
    color: #000000;
    font-weight: 400;
    text-decoration: none;
    vertical-align: baseline;
    font-size: 11pt;
    font-family: "Arial";
    font-style: normal
}

.c6 {
    background-color: #ffffff;
    max-width: 451.4pt;
    padding: 72pt 72pt 72pt 72pt
}

#declarationPreviewContent p, #honor_declaration_content p {
    margin: 0;
    color: #000000;
    font-size: 11pt;
    font-family: "Arial";
    overflow: hidden;
}

/* Signature Pad Styles */
.signature-container {
    margin-left: auto;
    width: 400px;
    height: 120px;
}

.signature-pad-wrapper {
    background-color: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 400px;
    height: 120px;
}

.signature-canvas {
    display: block;
    cursor: crosshair;
    touch-action: none;
}

.signature-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#clearSignature {
    min-width: 100px;
}

.signature-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    text-align: center;
}

.bg-to-fill {
    background-color: rgba(198, 218, 255, 0.47);
}

/* ==========================================================================
   Responsive: signup choice + beneficiary wizard on small screens
   The desktop layout is unchanged above the md breakpoint (768px).
   ========================================================================== */

/* --- Progress stepper: on desktop the 9 labels sit side by side.
       On mobile that never fits, so we show only the active step's name. --- */
.step-label {
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    /* Signup choice cards: stack instead of squeezing 3 across the viewport. */
    #signup_section_choice .signup-choice-block {
        flex-direction: column;
    }

    #signup_section_choice .block-type-account {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #signup_section_choice .fa,
    #signup_section_choice .fa-solid {
        font-size: 52px;
    }

    /* Progress stepper: collapse the label row down to the current step. */
    #block_progress_bar .d-flex.justify-content-between.mt-2 {
        justify-content: center !important;
    }

    #block_progress_bar .step-label {
        display: none;
    }

    #block_progress_bar .step-label.is-active {
        display: block;
        text-align: center;
        font-size: 0.95rem;
    }

    /* Tighten the wizard card padding (was p-5 = 48px, too much at 375px). */
    #signupFormBeneficiary.p-5 {
        padding: 1.25rem !important;
    }

    /* Section headings inside the wizard were sized for desktop. */
    .form-step .section-header h3 {
        font-size: 1.4rem;
    }

    /* Household counter row: keep the -/+ buttons and count on one tidy line. */
    .product-details .input-group-btn .btn {
        padding: 0.25rem 0.6rem;
    }

    /* "Localiser / ou saisir votre adresse" cluster wraps instead of clipping. */
    #block_address .input-group-append {
        flex-wrap: wrap;
        gap: 0.25rem 0.75rem;
    }

    #block_address .input-group-append .ml-3 {
        margin-left: 0 !important;
    }

    /* Navigation buttons: comfortable tap targets, readable label. */
    .form-navigation .btn-block.py-3 {
        padding-top: 0.85rem !important;
        padding-bottom: 0.85rem !important;
        font-size: 0.95rem;
    }
}

/* --- Signature pad: the fixed 400px width overflowed narrow screens and the
       margin-left:auto pushed it off canvas. Make it fluid everywhere. --- */
@media (max-width: 767.98px) {
    .signature-container {
        margin-left: 0;
        width: 100%;
        height: auto;
    }

    .signature-pad-wrapper {
        width: 100%;
        max-width: 100%;
        height: 120px;
    }

    .signature-actions {
        justify-content: center;
    }
}