/* ========================================
   Popin Rappel - Modale sortant du bas
   ======================================== */


/** HEADER FUNNEL : A DEPLACER APRES DEV MELISSA */

.call-header-button-style {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    gap: 2px;
    margin: 0 auto;
    height: 52px;
    background: #EA2424;
    border: 1px solid #EA2424;
    border-radius: 5px;
}

.call-header-button-style svg  {
    min-width: 27px;
    min-height: 27px;
    margin-top: 2px;
}


.checkout-header-button-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 2px;
    width: 86px;
    height: 32px;
}

.checkout-header-button-text span {
    flex: none;
    order: 1;
    flex-grow: 0;
}


.checkout-header-button-text span {
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}

.checkout-header-button-text span:first-child {
    width: 86px;
    height: 17px;
    font-family: 'Decoy';
    font-style: normal;
    font-weight: 500;
    font-size: 14.4px;
    line-height: 17px;
}

.checkout-header-button-text span:last-child {
    width: 63px;
    height: 13px;
    font-family: 'Degular';
    font-style: normal;
    font-weight: 700;
    font-size: 10px;
    line-height: 13px;
}


/* Overlay de fond */
.brigade-popin-rappel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.brigade-popin-rappel-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Container principal de la modale */
.brigade-popin-rappel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brigade-popin-rappel.show {
    transform: translateY(0);
}

/* Contenu de la modale */
.brigade-popin-rappel-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 1512px;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 0px -10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 24px 24px 0 0;
    position: relative;
}

/* Bouton de fermeture */
.brigade-popin-rappel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF !important;
    border: 1px solid #000000;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    color: black !important;
}

.brigade-popin-rappel-close:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

.brigade-popin-rappel-close svg {
    width: 40px;
    height: 40px;
}

/* ========================================
   Gestion des étapes
   ======================================== */

.brigade-popin-rappel-step {
    display: none;
    width: 100%;
}

.brigade-popin-rappel-step.active {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 50px 10%;
    gap: 30px;
    animation: fadeIn 0.3s ease;
}

/* ========================================
   ÉTAPE 1 : Choix client / pas client
   ======================================== */

/* Zone image gauche - Styles communs */
.brigade-popin-rappel-image {
    border-radius: 24px;
    overflow: hidden;
    background: #f5f5f5;
    margin:auto;
}

.brigade-popin-rappel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Par défaut, afficher l'image desktop et masquer l'image mobile */
.brigade-popin-rappel-image-mobile {
    display: none;
}

.brigade-popin-rappel-image-desktop {
    display: block;
}

/* Dimensions spécifiques par étape */
.brigade-popin-rappel-step-1 .brigade-popin-rappel-image {
    flex: 0 0 541px;
    width: 541px;
    height: 541px;
    margin:auto;
}

/* Zone contenu droite */
.brigade-popin-rappel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 24px;
}

/* Header du contenu */
.brigade-popin-rappel-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

.brigade-popin-rappel-step-5 .brigade-popin-rappel-header {
    gap:23px;
}

.brigade-popin-rappel-title {
    font-family: 'Decoy', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 33px;
    display: flex;
    align-items: center;
    color: #000000;
    margin: 0;
}

.brigade-popin-rappel-subtitle {
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    display: flex;
    align-items: center;
    color: #000000;
    margin: 0;
}

/* Container des blocs de choix */
.brigade-popin-rappel-choices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* Bloc de choix (commun aux deux) */
.brigade-popin-rappel-block {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.brigade-popin-rappel-block:hover {
    border-color: #EA2424;
    box-shadow: 0 4px 12px rgba(234, 36, 36, 0.1);
}

.brigade-popin-rappel-block-title {
    font-family: 'Decoy', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    display: flex;
    align-items: center;
    color: #000000;
    margin: 0;
}

.brigade-popin-rappel-block-description {
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    color: #000000;
    margin: 8px 0;
}



/* Boutons des blocs - Step 1 */
button.brigade-popin-rappel-btn {
    color: white !important;
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    gap: 10px;
    background-color: #FFFFFF !important;
    border: 1px solid #EA2424;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: 10px !important;
}

.brigade-popin-rappel-btn:hover {
    background: #EA2424 !important;
}

.brigade-popin-rappel-btn:hover .brigade-popin-rappel-btn-text {
    color: #FFFFFF !important;
}

.brigade-popin-rappel-btn-text {
    font-family: 'Decoy', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;
    color: #EA2424;
    transition: color 0.2s ease;
}

/* ========================================
   ÉTAPE 2 : Client existant - Choix rappel
   ======================================== */

/* Image moins haute pour step 2 */
.brigade-popin-rappel-step-2 .brigade-popin-rappel-image {
    flex: 0 0 541px;
    width: 541px;
    height: 270px;
}

/* Contenu step 2 */
.brigade-popin-rappel-step-2 .brigade-popin-rappel-content {
    justify-content: center;
}

/* Boutons d'action - Step 2 */
.brigade-popin-rappel-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.brigade-popin-rappel-action-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    gap: 10px;
    width: 100%;
    height: 61px;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.brigade-popin-rappel-action-btn span {
    font-family: 'Decoy', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Bouton primaire (plein rouge) */
.brigade-popin-rappel-action-btn-primary {
    background: #EA2424;
    border: none;
}

.brigade-popin-rappel-action-btn-primary span {
    color: #FFFFFF;
}

.brigade-popin-rappel-action-btn-primary:hover {
    background: #d32020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 36, 36, 0.3);
}

/* Bouton outline (bordure rouge) */
.brigade-popin-rappel-action-btn-outline {
    background: #FFFFFF !important;
    border: 1px solid #EA2424;
}

.brigade-popin-rappel-action-btn-outline span {
    color: #EA2424 !important;
}

.brigade-popin-rappel-action-btn-outline:hover {
    background: #EA2424 !important;
}

.brigade-popin-rappel-action-btn-outline:hover span {
    color: #FFFFFF !important;
}

/* ========================================
   ÉTAPE 3 : Client existant - Support
   ======================================== */

/* Image pour step 3 */
.brigade-popin-rappel-step-3 .brigade-popin-rappel-image {
    flex: 0 0 561px;
    width: 561px;
    height: 374px;
}

/* Contenu step 3 */
.brigade-popin-rappel-step-3 .brigade-popin-rappel-content {
    justify-content: flex-start;
}

/* Cadre contact support */
.brigade-popin-rappel-support-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-radius: 20px;
}

.brigade-popin-rappel-support-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.brigade-popin-rappel-support-line {
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    display: flex;
    align-items: center;
    color: #000000;
    width: 100%;
}

.brigade-popin-rappel-support-title {
    font-weight: 600;
}

.brigade-popin-rappel-support-phone, .brigade-popin-rappel-support-info {
   padding-left:23px;
}

.brigade-popin-rappel-support-phone {
    font-weight: 600;
}

.brigade-popin-rappel-support-info {
    font-weight: 400;
}

/* Bouton Appeler maintenant - Step 3 */
.brigade-popin-rappel-call-btn {
    height: 50px;
    padding: 10px;
}

.brigade-popin-rappel-call-btn span {
    font-family: 'Decoy', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    color: #FFFFFF;
}

/* ========================================
   ÉTAPE 4 : Formulaire rappel immédiat
   ======================================== */

/* Image pour step 4 */
.brigade-popin-rappel-step-4 .brigade-popin-rappel-image {
    flex: 0 0 541px;
    width: 541px;
    height: 458px;
    margin:auto;
}

/* Padding spécifique pour step 4 */
.brigade-popin-rappel-step-4.active {
    padding: 50px 200px;
}

/* Padding spécifique pour step 5 (agenda) */
.brigade-popin-rappel-step-5.active {
    padding: 50px 180px;
}

/* Contenu step 4 */
.brigade-popin-rappel-step-4 .brigade-popin-rappel-content {
    justify-content: flex-start;
}

/* Formulaire */
.brigade-popin-rappel-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 15px;
    width: 100%;
}

/* Ligne avec deux champs côte à côte */
.brigade-popin-rappel-form-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 15px;
    width: 100%;
}

/* Champ de formulaire */
.brigade-popin-rappel-form-field {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 10px;
    gap: 10px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    flex: 1;
}

.brigade-popin-rappel-form-field-full {
    flex: none;
    width: 100%;
}

.brigade-popin-rappel-form-field input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #676767;
}

.brigade-popin-rappel-form-field select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #676767;
    appearance: none;
    padding: 0;
}

.brigade-popin-rappel-form-field select:focus {
    color: #000000;
}

.brigade-popin-rappel-form-field input::placeholder {
    color: #676767;
    text-align: left;
}

.brigade-popin-rappel-form-field input:focus {
    color: #000000;
}

.brigade-popin-rappel-form-field:focus-within {
    border-color: #EA2424;
}

/* Actions du formulaire */
.brigade-popin-rappel-form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 100%;
}

.brigade-popin-rappel-submit-btn {
    width: 100%;
    height: 61px;
    padding: 20px 10px;
}

.brigade-popin-rappel-submit-btn span {
    font-family: 'Decoy', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
}

/* Champ téléphone avec intl-tel-input */
.brigade-popin-rappel-phone-field {
    position: relative;
    width: 100% !important;
}

.brigade-popin-rappel-phone-field .iti {
    width: 100%;
    display: block;
}

.brigade-popin-rappel-phone-field .iti input,
.brigade-popin-rappel-phone-field .iti input[type="tel"] {
    width: 100%;
    height: 46px;
    background: #FFFFFF;
    border: 1px solid #D3D3D3;
    border-radius: 10px;
    padding: 15px 18px;
    padding-left: 60px;
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #000000;
    transition: all 0.2s ease;
    border-radius: 5px;
}

.brigade-popin-rappel-phone-field .iti input:focus,
.brigade-popin-rappel-phone-field .iti input[type="tel"]:focus {
    outline: none;
    border-color: #FFC534;
}

.brigade-popin-rappel-phone-field .iti__flag-container {
    padding: 0;
}

.brigade-popin-rappel-phone-field .iti__selected-flag {
    padding: 0 8px 0 15px;
    background: transparent;
}

.brigade-popin-rappel-phone-field .iti__flag {
    display: inline-block;
}

/* Helper pour erreur téléphone */
.brigade-popin-rappel-phone-helper {
    display: none;
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #E23737;
    margin-top: 5px;
}

/* État erreur du champ téléphone */
.brigade-popin-rappel-phone-error .iti input,
.brigade-popin-rappel-phone-error .iti input[type="tel"] {
    border-color: #E23737;
}

.brigade-popin-rappel-phone-error .brigade-popin-rappel-phone-helper {
    display: block;
}

/* Texte de conditions */
.brigade-popin-rappel-form-conditions {
    width: 100%;
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: block;
    color: #000000;
    margin: 0;
}

.brigade-popin-rappel-form-conditions a {
    text-decoration: underline;
    color: #000000;
    font-weight: 500;
}

/* ========================================
   ÉTAPE 5 : Planifier un appel (agenda)
   ======================================== */

/* Image pour step 5 */
.brigade-popin-rappel-step-5 .brigade-popin-rappel-image {
    flex: 0 0 561px;
    width: 561px;
    height: 648px;
}

/* Contenu step 5 */
.brigade-popin-rappel-step-5 .brigade-popin-rappel-content {
    justify-content: flex-start;
}

/* Formulaire agenda (réutilise les styles du formulaire de l'étape 4) */
.brigade-popin-rappel-step-5 .brigade-popin-rappel-form {
    gap: 15px;
}

/* ========================================
   ÉTAPE 6 : Confirmation agenda
   ======================================== */

/* Image pour step 6 */
.brigade-popin-rappel-step-6 .brigade-popin-rappel-image {
    flex: 0 0 561px;
    width: 561px;
    height: 393px;
}

.brigade-popin-rappel-title.brigade-popin-rappel-success-title {
    margin-top: -10px;
}

/* Contenu centré */
.brigade-popin-rappel-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    justify-content: center;
}

.brigade-popin-rappel-success-icon {
    width: 63px;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brigade-popin-rappel-success-title {
    text-align: center;
}

.brigade-popin-rappel-success-text {
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #000000;
    max-width: 560px;
    margin: 0;
}

.brigade-popin-rappel-success-signature {
    font-family: 'Degular', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    color: #EA2424;
    margin-top: -20px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablette */
@media (max-width: 1200px) {
    .brigade-popin-rappel-container {
        max-width: 1000px;
    }

    .brigade-popin-rappel-step.active {
        padding: 40px 3%;
        gap: 0px;
    }

    .brigade-popin-rappel-step-4.active,
    .brigade-popin-rappel-step-5.active {
        padding: 40px 3%;
    }

    /* Images tablette */
    .brigade-popin-rappel-step-1 .brigade-popin-rappel-image {
        flex: 0 0 380px;
        width: 380px;
        height: 380px;
        margin:auto;
    }

    .brigade-popin-rappel-step-2 .brigade-popin-rappel-image {
        flex: 0 0 380px;
        width: 380px;
        height: 200px;
        margin:auto;
    }

    .brigade-popin-rappel-step-3 .brigade-popin-rappel-image {
        flex: 0 0 400px;
        width: 400px;
        height: 300px;
        margin:auto;
    }

    .brigade-popin-rappel-step-4 .brigade-popin-rappel-image {
        flex: 0 0 380px;
        width: 380px;
        height: 350px;
        margin:auto;
    }

    .brigade-popin-rappel-step-5 .brigade-popin-rappel-image {
        flex: 0 0 400px;
        width: 400px;
        height: 480px;
        margin:auto;
    }

    .brigade-popin-rappel-step-6 .brigade-popin-rappel-image {
        flex: 0 0 400px;
        width: 400px;
        height: 300px;
        margin:auto;
    }

    /* Textes tablette */
    .brigade-popin-rappel-title {
        font-size: 24px;
        line-height: 28px;
    }

    .brigade-popin-rappel-subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .brigade-popin-rappel-block-title {
        font-size: 20px;
        line-height: 24px;
    }

    .brigade-popin-rappel-block-description {
        font-size: 15px;
        line-height: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Container principal */
    .brigade-popin-rappel-container {
        max-width: 390px;
        border-radius: 24px 24px 0 0;
    }

    /* Bouton de fermeture */
    .brigade-popin-rappel-close {
        top: 12px;
        right: 12px;
        width: 26px;
        height: 26px;
        background: #FFFFFF;
        border: none;
    }

    /* Étapes en colonne : image en haut, contenu en bas */
    .brigade-popin-rappel-step.active {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        max-height: 80dvh;
        max-height: 70vh;
        overflow-y: auto;
    }

    /* ===== IMAGES ===== */
    /* Toutes les images en mobile */
    .brigade-popin-rappel-image {
        position: relative;
        flex: none !important;
        width: 100% !important;
        height: 180px !important;
        border-radius: 24px 24px 0 0 !important;
        margin: 0 !important;
    }

    .brigade-popin-rappel-image img {
        border-radius: 24px 24px 38px 38px;
    }

    /* Sur mobile, afficher l'image mobile et masquer l'image desktop */
    .brigade-popin-rappel-image-desktop {
        display: none !important;
    }

    .brigade-popin-rappel-image-mobile {
        display: block !important;
    }

    /* ===== CONTENU ===== */
    .brigade-popin-rappel-content {
        width: 100%;
        padding:32px 16px 20px 16px;
        gap: 24px;
    }

    /* Header */
    .brigade-popin-rappel-header, .brigade-popin-rappel-step-5 .brigade-popin-rappel-header {
        gap: 8px;
    }

    .brigade-popin-rappel-title {
        font-size: 22px;
        line-height: 26px;
        letter-spacing: 0.3px;
    }

    .brigade-popin-rappel-subtitle {
        font-size: 16px;
        line-height: 21px;
    }

    /* ===== ÉTAPE 1 : Choix client ===== */
    .brigade-popin-rappel-choices {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }



    .brigade-popin-rappel-block {
        padding: 20px;
        gap: 8px;
        border-radius: 20px;
    }

    .brigade-popin-rappel-block-title {
        font-size: 18px;
        line-height: 22px;
    }

    .brigade-popin-rappel-block-description {
        font-size: 15px;
        line-height: 21px;
        letter-spacing: 0.4px;
    }

    button.brigade-popin-rappel-btn {
        padding: 10px;
        border-radius: 20px;
        margin-top: 0px;
    }

    .brigade-popin-rappel-btn-text {
        font-size: 13px;
        line-height: 16px;
    }

    /* ===== ÉTAPE 2 & 3 : Actions ===== */
    .brigade-popin-rappel-actions {
        gap: 10px;
    }

    .brigade-popin-rappel-action-btn {
        height: 50px;
        padding: 10px;
        border-radius: 5px;
    }

    .brigade-popin-rappel-action-btn span {
        font-size: 15px;
        line-height: 18px;
    }

    /* Support box */
    .brigade-popin-rappel-support-box {
        padding: 20px;
        border-radius: 20px;
    }

    .brigade-popin-rappel-support-line {
        font-size: 18px;
        line-height: 24px;
    }

    .brigade-popin-rappel-call-btn {
        height: 50px;
        padding: 10px;
    }

    .brigade-popin-rappel-call-btn span {
        font-size: 15px;
        line-height: 18px;
    }

    /* ===== ÉTAPES 4 & 5 : Formulaires ===== */
    .brigade-popin-rappel-form {
        gap: 8px;
    }

    .brigade-popin-rappel-form-row {
        flex-direction: row;
        gap: 8px;
    }


    .brigade-popin-rappel-form-field input,
    .brigade-popin-rappel-form-field select {
        font-size: 15px;
        line-height: 20px;
    }

    .brigade-popin-rappel-form-actions {
        gap: 12px;
    }

    .brigade-popin-rappel-submit-btn {
        height: 50px;
        padding: 10px;
        border-radius: 5px;
    }

    .brigade-popin-rappel-submit-btn span {
        font-size: 15px;
        line-height: 18px;
    }

    .brigade-popin-rappel-form-conditions {
        font-size: 10px;
        line-height: 11px;
    }

    /* ===== ÉTAPE 6 : Confirmation ===== */
    .brigade-popin-rappel-success-content {
        gap: 10px;
        padding: 24px 20px;
    }

    .brigade-popin-rappel-success-icon {
        width: 60px;
        height: 60px;
    }

    .brigade-popin-rappel-success-icon svg {
        width: 60px;
        height: 60px;
    }

    .brigade-popin-rappel-success-text {
        font-size: 16px;
        line-height: 21px;
    }

    .brigade-popin-rappel-success-signature {
        font-size: 16px;
        line-height: 21px;
    }

    /* Ajustements spécifiques par étape */
    .brigade-popin-rappel-step-1.active,
    .brigade-popin-rappel-step-2.active,
    .brigade-popin-rappel-step-3.active {
        padding: 0;
    }

    .brigade-popin-rappel-step-2 .brigade-popin-rappel-content {
        padding: 30px 20px;
        gap: 20px;
    }

    .brigade-popin-rappel-step-4.active,
    .brigade-popin-rappel-step-5.active {
        padding: 0;
    }

    .brigade-popin-rappel-step-6.active {
        padding: 0;
    }
}

/* Très petit mobile */
@media (max-width: 400px) {
    .brigade-popin-rappel-container {
        max-width: 100%;
    }

    .brigade-popin-rappel-content {
        padding: 20px 16px;
    }

    .brigade-popin-rappel-step-2 .brigade-popin-rappel-content {
        padding: 24px 16px;
    }

    /* Images encore plus petites */
    .brigade-popin-rappel-image {
        height: 180px !important;
    }

    .brigade-popin-rappel-title {
        font-size: 20px;
        line-height: 24px;
    }


    .brigade-popin-rappel-block-title {
        font-size: 19px;
        line-height: 20px;
    }

    .brigade-popin-rappel-action-btn span,
    .brigade-popin-rappel-submit-btn span {
        font-size: 14px;
        line-height: 17px;
    }


}

/* ========================================
   Animations
   ======================================== */

@keyframes slideUpFromBottom {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scrollbar personnalisée */
.brigade-popin-rappel-step::-webkit-scrollbar {
    width: 6px;
}

.brigade-popin-rappel-step::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.brigade-popin-rappel-step::-webkit-scrollbar-thumb {
    background: #EA2424;
    border-radius: 10px;
}

.brigade-popin-rappel-step::-webkit-scrollbar-thumb:hover {
    background: #d32020;
}
