/**
 * Form Builder Pro - Frontend Styles
 * Version FINALE avec barre de progression dans .msh-form-left et labels placeholders
 */

:root {
    --msh-primary: #7900F0;
    --msh-primary-dark: #7c3aed;
    --msh-primary-light: #a78bfa;
    --msh-secondary: #e5e7eb;
    --msh-white: #ffffff;
    --msh-black: #000000;
    --msh-text: #1f2937;
    --msh-text-light: #6b7280;
    --msh-text-muted: #9ca3af;
    --msh-border: #d1d5db;
    --msh-border-light: #f3f4f6;
    --msh-success: #10b981;
    --msh-error: #DD472B;
    --msh-warning: #f59e0b;
    --msh-radius-sm: 8px;
    --msh-radius-md: 12px;
    --msh-radius-lg: 16px;
    --msh-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --msh-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --msh-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --msh-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --msh-transition: all 0.2s ease-in-out;
}

/* Reset et base */
* {
    box-sizing: border-box;
}
.msh-form-row-title.champ-contact-text {
    background: #F8F2FE;
    gap: 10px;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 32px;
    cursor: pointer;
}
.msh-form-row-title.champ-contact-text a:not(.connexion-btn) {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
a.connexion-btn {
    background: transparent !important;
    font-weight: 500;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.1px;
    text-align: center;
    color: #7900F0;
    width: max-content;
}

.formulaire .msh-form-container {
    width: 100%;
    max-width: calc(100% - 100px);
    margin: auto;
    max-width: 100%;
}
.msh-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
}
.msh-profile-connection {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
}
.formulaire {
    display: flex;
    padding-top: 0;
}
.msh-form-popup {
    overflow: hidden;
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
}

/* Conteneur principal */
.msh-form-container {
    background: var(--msh-white);
    border-radius: 0;
    overflow: hidden;
    line-height: 1.6;
    color: var(--msh-text);
    position: relative;
    min-height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    overflow-y: scroll;
}
   .msh-profile-container {
    background: var(--msh-white);
    border-radius: 0;
    overflow: hidden;
    line-height: 1.6;
    color: var(--msh-text);
    position: relative;
    min-height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
}
/* Header */
.msh-form-header {
    background: var(--msh-white);
    padding: 16px 64px;
    border-bottom: 1px solid var(--msh-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-shrink: 0;
}

.msh-form-logo img {
    height: 40px;
    width: auto;
}
.msh-form-step-content-layout[data-status="Onlyradiocheckbox"] .msh-form-row-title.champ-obligatoire-text {
    display: none;
}
.msh-form-close {
    background: none;
    cursor: pointer;
    transition: var(--msh-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.9px solid #DED3E2;
    width: 50px;
    height: 50px;
    outline: none !important;
    border-radius: 13.5px;
}
.msh-form-step-content-layout[data-step="1"] .msh-form-navigation {
    display: none;
}
.msh-form-close:hover {
    background: var(--msh-border-light);
    color: var(--msh-text);
}

/* Contenu principal */
.msh-form-content {
    display: flex;
    flex: 1;
    min-height: 0;
}
.msh-profile-content {
    display: flex;
    flex: 1;
    min-height: 0;
}
.msh-form-container > div {
    max-width: 2500px;
    width: 100%;
    margin: auto;
}
.msh-profile-container > div {
    max-width: 2500px;
    width: 100%;
    margin: auto;
}
.msh-form-step-content-layout {
    max-width: 683px;
    margin-right: auto;
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
}
.msh-profile-step-content-layout {
    max-width: 683px;
    margin-right: auto;
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
}

/* Section gauche */
.msh-form-left {
    flex: 1;
    padding: 36px 0 36px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

/* CORRECTION: Barre de progression dans .msh-form-left */
.msh-form-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 40px;
    height: 6px;
    background: #F7F7F7;
    border-radius: 0;
    overflow: hidden;
    z-index: 10;
    width: 100%;
}

.msh-form-progress-fill {
    height: 100%;
    width: 25%;
    transition: width 0.5s ease-in-out;
    border-radius: 0 100px  100px 0;
    position: relative;
    background: linear-gradient(59.78deg, #7E4BD2 11.51%, #DD472B 119.57%);
}

/* Animation shimmer pour la barre de progression */
.msh-form-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.msh-form-step-indicator {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    text-align: center;
}
.msh-form-back {
    background: none;
    border: none;
    color: #151515 !important;
    align-items: center;
    gap: 10px;
    transition: var(--msh-transition);
    outline: none !important;
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    padding: 0;
}
.msh-profile-back {
    background: none;
    border: none;
    color: #151515 !important;
    align-items: center;
    gap: 10px;
    transition: var(--msh-transition);
    outline: none !important;
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    padding: 0;
}
.msh-form-back:hover {
    color: var(--msh-primary) !important;
}
.msh-form-back:hover svg {
    filter: brightness(0) saturate(100%) invert(11%) sepia(93%) saturate(6932%) hue-rotate(274deg) brightness(89%) contrast(120%);
            scale: 1.5;

}
.msh-form-content.step-not-yet .msh-form-buttons .btn {
    background: #BDBDBD !important;
    border: 1px solid #BDBDBD !important;
    color: #727272 !important;
    pointer-events: none;
}
/* Contenu de l'étape */
.msh-form-step-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.msh-profile-step-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.msh-form-buttons .btn {
    width: auto !important;
    padding: 18px 90px !important;
    max-width: max-content;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 62px;
}
.msh-form-buttons .btn.msh-form-submit {
    padding: 18px 60px !important;
}

.msh-form-buttons .btn:hover {
    padding-left: 80px !important;
    padding-right: 100px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
   /* width: auto !important;*/
}
.msh-form-buttons .btn.msh-form-submit:hover  {
    padding-left: 50px !important;
    padding-right: 70px !important;
}

.msh-form-buttons .btn::after {
    content: '';
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transform: translateX(10px) !important;
    overflow: hidden !important;
    transition: width 0.6s ease, margin-left 0.6s ease, opacity 0.6s ease, transform 0.6s ease !important;
    position: absolute !important;
    opacity: 0 !important;
    height: 37px !important;
    right: 12px !important;
    background-image: url(/wp-content/uploads/2025/06/arrow-white-2.svg) !important;
}
.msh-form-buttons .btn:hover::after {
    width: 37px !important;
    right: 12.5px !important;
    transition: opacity 1s ease, transform 1s ease !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

h1.msh-form-title {
    font-family: Luxenta;
    font-weight: 900;
    font-size: 37px;
    line-height: 100%;
    letter-spacing: 0;
    color: #151515 !important;
    max-width: 557px;
    width: 100%;
}
/* Formulaire */
.msh-form-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.recommended.fbp-solution-card-one {
    max-width: 494px;
    width: 100%;
    margin: auto;
}

.msh-form-success-message {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI0ODIiIHZpZXdCb3g9IjAgMCAxNDQwIDQ4MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTS03LjUzOTA2IDIuOTk5OTFDNC44MzA5NCAzMS42ODk5IDE3LjY5MDkgNjEuMTE5OSAzOS43NzA5IDgzLjIzOTlDNjEuODQwOSAxMDUuMzUgOTUuNTgwOSAxMTguNzYgMTI0Ljk3MSAxMDguMTdDMTU0LjM2MSA5Ny41Nzk5IDE3MS42NTEgNTcuMjU5OSAxNTIuNDYxIDMyLjU5OTlDMTMwLjM5MSA0LjI0OTkxIDc4LjQxMDkgMjAuNTA5OSA2Ny41NDA5IDU0Ljc0OTlDNTYuNjcwOSA4OC45OTk5IDc4LjMwMDkgMTI2Ljg0IDEwOC42MzEgMTQ2LjExQzE1OC43OTEgMTc3Ljk4IDIyNS4zNzEgMTY5LjE1IDI3OS43MzEgMTQ1LjE2QzMzNC4xMDEgMTIxLjE2IDM4MS42MjEgODMuODE5OSA0MzUuMjgxIDU4LjI3OTlDNTMzLjYyMSAxMS40Nzk5IDY0OC40ODEgNy4wMzk5MiA3NTQuODYxIDMwLjM0OTlDODYxLjI0MSA1My42NTk5IDk2MC4yMjEgMTAzLjE0IDEwNTIuODggMTYwLjM2QzExMDEuMiAxOTAuMiAxMTQ5LjEzIDIyMy4xOCAxMTgyLjc0IDI2OC45NUMxMjE2LjM1IDMxNC43MiAxMjMzLjcxIDM3NS44NiAxMjE1LjAxIDQyOS40OEMxMjA2Ljg5IDQ1Mi43NyAxMTg3LjI4IDQ3Ni4yMiAxMTYyLjc0IDQ3My43NkMxMTQyLjYgNDcxLjc0IDExMjguMjggNDUyLjk4IDExMjAuNzEgNDM0LjJDMTA4OS44NCAzNTcuNzMgMTEzNi41OSAyNjQuMjQgMTIxMC44OCAyMjguNDRDMTI4NS4xNyAxOTIuNjQgMTM3Ni43MSAyMDcuNCAxNDQ3LjA4IDI1MC4zOSIgc3Ryb2tlPSJ1cmwoI3BhaW50MF9saW5lYXJfNDM0MV81Njk1KSIgc3Ryb2tlLXdpZHRoPSIxNSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfNDM0MV81Njk1IiB4MT0iLTcuNTM5MDYiIHkxPSIyMzguNDY5IiB4Mj0iMTQ0Ny4wOCIgeTI9IjIzOC40NjkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iIzdFNEJEMiIvPgo8c3RvcCBvZmZzZXQ9IjAuMjM2NDUxIiBzdG9wLWNvbG9yPSIjOUM0QTlFIi8+CjxzdG9wIG9mZnNldD0iMC4zMTU2IiBzdG9wLWNvbG9yPSIjOUQ0QTlDIiBzdG9wLW9wYWNpdHk9IjAiLz4KPHN0b3Agb2Zmc2V0PSIwLjY5MjgzOCIgc3RvcC1jb2xvcj0iI0JGNDg2MCIgc3RvcC1vcGFjaXR5PSIwIi8+CjxzdG9wIG9mZnNldD0iMC43NDczMTciIHN0b3AtY29sb3I9IiNDMTQ4NUMiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjREQ0NzJCIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==) !important;
    display: flex;
    justify-content: center;
    background-position: top !important;
    background-repeat: no-repeat !important;
    margin-top: 20vh !important;
    background-size: cover !important;
}



h2 span:not(span[style*="color: #7e4bd2"]), .h2 span:not(span[style*="color: #7e4bd2"]), .h2 p span:not(span[style*="color: #7e4bd2"]) {
    background: linear-gradient(90deg, #7E4BD2 0%, #DD472B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.msh-form-success-message-layout {
    max-width: 570px !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 543px;
}
h2.ql-align-center {
    font-family: 'Luxenta', sans-serif;
    font-weight: 900;
    margin: 0;
    padding: 0;
    color: #151515 !important;
    line-height: 100%;
    font-size: 44px;
    opacity: 1 !important;
}

.msh-form-navigation {
    padding-bottom: 16px;
    min-height: 35px;
}
.msh-form-fields-row-layout > div:last-child {
    margin-bottom: 0;
}
.msh-form-row-title {
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.01px;
    vertical-align: middle;
}
.msh-form-row-title.champ-obligatoire-text {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.1px;
}
.msh-form-row {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.msh-form-field {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.msh-form-field-100 { flex: 1; min-width: 100%; }
.msh-form-field-50 { flex: 1; min-width: calc(50% - 10px); }
.msh-form-field-33 { flex: 1; min-width: calc(33.333% - 14px); }
.msh-form-field-25 { flex: 1; min-width: calc(25% - 15px); }

/* Conteneur d'input avec label flottant */
.msh-form-input-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
}
/* CORRECTION: Styles des champs avec labels comme placeholders initiaux */
.msh-form-input, .msh-form-textarea, .msh-form-select {
    width: 100%;
    background: var(--msh-white);
    transition: var(--msh-transition);
    outline: none;
    border: 1px solid #D9DCEC !important;
    border-radius: 16px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    color: #151515;
    padding: 19px 23.5px 19px 30px;
    max-height: 58px;
    min-height: 58px;
}
.hidden { display: none !important; }
.msh-form-input:focus, .msh-form-textarea:focus, .msh-form-select:focus {
    border: 1px solid #7900F0 !important;
}
.msh-form-textarea {
    min-height: 250px;
    resize: none;
    padding: 30px;
}
.nice-select.msh-form-select ul.list {
    width: 100%;
    margin-top: 10px;
    border-radius: 16px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    max-height: 250px;
    overflow-y: scroll;
    /*min-height: 250px;
    top: -263px;
    margin: 0;
    border: 1px solid #D9DCEC !important;
    box-shadow: none !important;
    width: max-content;*/
}

/* Styles pour le champ de recherche dans NiceSelect */
/* Le champ de recherche est maintenant visible directement sur le select */
.nice-select.msh-form-select {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.nice-select.msh-form-select .nice-select-search {
    width: calc(100% - 16px) !important;
    padding: 10px 12px !important;
    margin: 8px !important;
    border: 1px solid #D9DCEC !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-family: Poppins, sans-serif !important;
    color: #151515 !important;
    background: var(--msh-white) !important;
    outline: none !important;
    transition: var(--msh-transition) !important;
    order: -1 !important;
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    border: none !important;
}

.nice-select.msh-form-select .nice-select-search:focus {
    border: 1px solid #7900F0 !important;
    box-shadow: 0 0 0 3px rgba(121, 0, 240, 0.1) !important;
}

.nice-select.msh-form-select .nice-select-search::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}
/*.nice-select.msh-form-select ul.list::-webkit-scrollbar {
    width: 16px;
}
.nice-select.msh-form-select ul.list::-webkit-scrollbar {
    height: 16px; 
}
.nice-select.msh-form-select ul.list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 16px;
}
.nice-select.msh-form-select ul.list::-webkit-scrollbar-thumb {
    background-color: #D9DCEC;
    border-radius: 16px;
    border: 4px solid transparent; 
    background-clip: content-box;
}*/

.nice-select.msh-form-select span.current {
    height: 100%;
    display: flex;
    align-items: center;
    display: none;
}
.nice-select.msh-form-select ul.list > li {
    max-width: calc(100% - 32px);
    margin: auto;
}
.nice-select.msh-form-select .option.focus, .nice-select.msh-form-select .option.selected.focus, .nice-select .option:hover {
    background-color: #F8F2FE !important;
}
.nice-select.msh-form-select ul.list > li {
    max-width: calc(100% - 32px);
    margin: auto;
    padding: 0 8px !important;
    border-radius: 8px !important;
}
/* CORRECTION: Labels comme placeholders initiaux */
.msh-form-label {
    position: absolute;
    left: 30px;
    top: 16px;
    font-size: 16px;
    color: var(--msh-text-light);
    pointer-events: none;
    transition: var(--msh-transition);
    background: var(--msh-white);
    padding: 0;
    transform-origin: left top;
    z-index: 1;
    margin: 0 !important;
    line-height: 16px;
}


/* Champs avec valeur - label flottant */
.msh-form-input:not(:placeholder-shown) + .msh-form-label, .msh-form-textarea:not(:placeholder-shown) + .msh-form-label, .msh-form-select:not([value=""]) + .msh-form-label {
    color: #727272;
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    display: flex;
    max-width: calc(100% - 20px);
}
.msh-form-select:not([value=""]) + .msh-form-label:not(.msh-form-label-float) {
    transform: translateY(-10px) scale(1);
    top: 0 !important;
    font-size: 11px;
    padding: 0 4px;
}
/* État flottant du label */
.msh-form-label-float, .msh-form-input:focus + .msh-form-label, .msh-form-textarea:focus + .msh-form-label, .msh-form-select:focus + .msh-form-label {
    transform: translateY(-10px) scale(1);
    top: 0 !important;
    font-size: 11px;
    padding: 0 4px;
}

.msh-form-textarea:not(:placeholder-shown) + .msh-form-label {
    top: 30px;
}

.msh-form-field-error {
    color: var(--msh-error);
    font-size: 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.1px;
    vertical-align: middle;
}

/* Options radio */
.msh-form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msh-form-radio-option {
    display: block;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.msh-form-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.msh-form-radio-content {
    display: flex;
    align-items: center;
    padding: 19px 23.5px 19px 30px;
    border-radius: 16px;
    background: var(--msh-white);
    transition: var(--msh-transition);
    gap: 12px;
    border: 1px solid #D9DCEC;
    justify-content: space-between;
    min-height: 58px;
    max-height: 58px;
    width: 100%;
}
.msh-form-label-float, .msh-form-input:focus + .msh-form-label {
    width: auto;
    max-width: calc(100% - 30px);
}
.msh-form-radio-option:hover .msh-form-radio-content {
    border-color: #7900F0;
    background: #F7F7F7;
}

.msh-form-radio-option input[type="radio"]:checked + .msh-form-radio-content {
    border-color: var(--msh-primary);
    background: rgba(139, 92, 246, 0.05);
}

.msh-form-radio-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.msh-form-radio-label {
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    color: #151515;
    max-width: calc(100% - 55px);
}

.msh-form-radio-content-2 {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.msh-form-radio-arrow {
    color: var(--msh-text-light);
    flex-shrink: 0;
    transition: var(--msh-transition);
}

.msh-form-radio-option input[type="radio"]:checked + .msh-form-radio-content .msh-form-radio-arrow {
    color: var(--msh-primary);
}
.msh-form-field.msh-form-field-50 .msh-form-radio-group {
    flex-direction: row;
    align-items: stretch;
}
.msh-form-field.msh-form-field-50 .msh-form-radio-group > label {
    width: 100%;
    display: flex;
	flex: 1;
}
.msh-form-field.msh-form-field-50 .msh-form-radio-content svg {
    display: none;
}
.msh-form-field.msh-form-field-50 .msh-form-radio-content {
    position: relative;
}
.msh-form-field.msh-form-field-50 .msh-form-radio-content:after {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    right: 23.5px;
    top: 50%;
    background-image: url(/wp-content/uploads/2025/09/radio.svg);
    transform: translate(0, -50%);
}

.msh-form-field.msh-form-field-50  .msh-form-radio-option input[type="radio"]:checked + .msh-form-radio-content:after {
    background-image: url(/wp-content/uploads/2025/09/radio-2.svg);
}



/* Options checkbox */
.msh-form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msh-form-checkbox-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.msh-form-checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.msh-form-checkbox-content {
    display: flex;
    align-items: center;
    padding: 20px 23.5px 20px 30px;
    border-radius: 16px;
    background: var(--msh-white);
    transition: var(--msh-transition);
    gap: 12px;
    border: 1px solid #D9DCEC;
    justify-content: space-between;
}

.msh-form-checkbox-option:hover .msh-form-checkbox-content {
    border-color: var(--msh-primary-light);
    background: rgba(139, 92, 246, 0.02);
}

.msh-form-checkbox-option input[type="checkbox"]:checked + .msh-form-checkbox-content {
    border-color: var(--msh-primary);
    background: rgba(139, 92, 246, 0.05);
}

.msh-form-checkbox-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.msh-form-checkbox-label {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--msh-text);
}

/* Boutons */
.msh-form-buttons {
    margin-top: auto;
}

.msh-form-next, .msh-form-submit {
    background: #7900F0;
    color: var(--msh-white);
    border: none;
    padding: 22px 90px;
    border-radius: 16px;
    transition: var(--msh-transition);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: Poppins;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    outline: none !important;
    max-width: 237px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}


.msh-form-select:focus {
    color: #151515;
}

.msh-form-next:hover,
.msh-form-submit:hover {
    /* transform: translateY(-1px); */
    /* box-shadow: var(--msh-shadow-lg); */
}

.msh-form-next:disabled,
.msh-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Section droite */
.msh-form-right {
    max-width: 672px;
    width: 35%;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.msh-form-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 509 / 580;
    max-height: calc(100vh - 265px);
}

.msh-form-step-image {
    opacity: 1;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
    width: 100%;
    aspect-ratio: 509 / 580;
    height: 100%;
}

.msh-form-description {
    padding: 48px 20px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.msh-form-description h3:not(.elementor-heading-title) {
    color: #7900F0 !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 12px !important;
}


.msh-form-description p {
    color: #151515;
    margin: 0;
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
}

/* États de chargement */
.msh-form-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--msh-border-light);
    border-radius: var(--msh-radius-md);
    border: 2px dashed var(--msh-border);
}

.msh-form-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--msh-border);
    border-top: 4px solid var(--msh-primary);
    border-radius: 50%;
    animation: msh-spin 1s linear infinite;
    margin-bottom: 20px;
}

.msh-form-spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--msh-white);
    border-radius: 50%;
    animation: msh-spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes msh-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.msh-form-loading p {
    color: var(--msh-text-light);
    font-size: 16px;
    margin: 0;
}



/* Page de confirmation */
.msh-form-confirmation {
    text-align: center;
    padding: 60px 20px;
}

.ql-align-center {
    text-align: center;
}


.msh-form-confirmation h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--msh-text);
    margin: 0 0 20px 0;
}

.msh-form-confirmation-text {
    font-size: 16px;
    color: var(--msh-text-light);
    margin: 0 0 30px 0;
}

.msh-form-highlight {
    color: var(--msh-primary);
    font-weight: 600;
}

.msh-form-feedback-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--msh-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--msh-transition);
}

.fbp-solutions-container {
    padding-top: 141px;
}
.fbp-solutions-header h1 {
    font-family: 'Luxenta', sans-serif;
    font-weight: 900;
    margin: 0;
    padding: 0;
    color: #151515 !important;
    line-height: 100%;
    font-size: 64px;
    opacity: 1 !important;
    margin-bottom: 18px;
}
h1 span:not(span[style*="color: #7e4bd2"]), .h1 span:not(span[style*="color: #7e4bd2"]), .h1 p span:not(span[style*="color: #7e4bd2"]) {
    background: linear-gradient(90deg, #7E4BD2 0%, #DD472B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.nice-select.msh-form-select:after {
    display: none !important;

}
.msh-form-feedback-link:hover {
    color: var(--msh-primary-dark);
}
.nice-select.msh-form-select {
    min-height: 58px;
    padding: 0 !important;
}
.msh-form-select {
   appearance: none;         /* Remove default arrow in most browsers */
   -webkit-appearance: none; /* Remove default arrow in Safari */
   -moz-appearance: none;    /* Remove default arrow in Firefox */
   background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEzIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDAuNUw1LjgyNzMzIDQuODg4NDhDNi4yMDg3NSA1LjIzNTIzIDYuNzkxMjUgNS4yMzUyMyA3LjE3MjY3IDQuODg4NDhMMTIgMC41IiBzdHJva2U9IiMxNTE1MTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K) no-repeat right 26.5px center;
   background-size: 11px;
}

.msh-form-select:focus {
    background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEzIDYiIHdpZHRoPSIxMyIgaGVpZ2h0PSI2Ij4KCTx0aXRsZT5WZWN0b3IgMjwvdGl0bGU+Cgk8c3R5bGU+CgkJLnMwIHsgZmlsbDogbm9uZTtzdHJva2U6ICMxNTE1MTU7c3Ryb2tlLWxpbmVjYXA6IHJvdW5kIH0gCgk8L3N0eWxlPgoJPHBhdGggY2xhc3M9InMwIiBkPSJtMTIgNS41bC00LjgtNC40Yy0wLjQtMC4zLTEtMC4zLTEuNCAwbC00LjggNC40Ii8+Cjwvc3ZnPg==) no-repeat right 26.5px center;
    background-size: 11px;

}
/* Erreurs */
.msh-form-error {
    border-color: var(--msh-error) !important;
}

.msh-form-error h3 {
    font-size: 20px;
    margin: 0 0 12px 0;

}

.msh-form-error p {
    margin: 0 0 20px 0;
}
.msh-form-success-message h1 {
    font-weight: 900;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0;
}
.msh-form-success-message p {
    color: #151515 !important;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    text-align: center;
}
.msh-form-retry-btn {
    background: var(--msh-primary);
    color: var(--msh-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--msh-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--msh-transition);
}

.msh-form-retry-btn:hover {
    background: var(--msh-primary-dark);
}

.msh-form-submission-error {
    margin-top: 20px;
}

@media (max-width: 1540px) {
    .nice-select.msh-form-select ul.list {
        min-height: 205px;
        top: calc(100% + 5px);
        max-height: 205px;
        min-width: -webkit-fill-available;
    }
	.msh-form-champ-container:not(.msh-form-input-container-type-pays.msh-form-input-container-count-1) .nice-select.msh-form-select ul.list {
		/*top: -228px;*/
	}
}
/* Responsive Design */
@media (max-width: 1024px) {
    .msh-form-right {
        width: 350px;
    }
    
    .msh-form-left {
        padding: 30px;
    }
    
 
}
div#fbp_solutions .fbp-solution-card-one:not(.recommended) {
    padding-top: 2px;
}
.formulaire.vc_row:not(.vc_inner)  > .wpb_column {
    max-width: 100% !important;
    width: 100% !important;
}



@media (max-width: 991px) {
		.nice-select.msh-form-select ul.list {
		min-height: 145px;
		top: calc(100% + 5px);
		max-height: 145px;
		min-width: -webkit-fill-available;
	}
	.msh-form-champ-container:not(.msh-form-input-container-type-pays.msh-form-input-container-count-1) .nice-select.msh-form-select ul.list {
		/*top: -158px;*/
	}
	
	.msh-form-radio-label {
		max-width: calc(100% - 26px);
	}

	.msh-form-row-title.champ-contact-text {
		padding: 12px;
		margin-top: 20px;
	}
	.msh-form-radio-content {
		padding: 6px 15px 6px 15px;
		/*min-height: 45px;*/
	}
	.msh-form-title {
		margin-bottom: 0 !important;
	}
	.msh-form-step-content {
		gap: 16px;
	}
	.msh-form-step-content-layout {
		padding-top: 0;
		gap: 0;
	}
	.msh-form-radio-group {
		gap: 6px;
	}
	.msh-form-step-content-layout {
		padding-top: 30px;
	}
	/*.msh-form-step-content-layout[data-step="1"] {
		padding-top: 0px;
	}*/
	h1.msh-form-title {
		font-size: 28px;
	}
	.nice-select.msh-form-select ul.list {
		min-height: 178px;
		/*top: -190px;*/
		margin: 0;
		border: 1px solid #D9DCEC !important;
		box-shadow: none !important;
		width: max-content;
		max-height: 178px;
	}
	.nice-select.msh-form-select ul.list > li {
		max-width: calc(100% - 8px);
		font-size: 15px;
		line-height: 32px;
		min-height: auto;
	}
	.formulaire .msh-form-container {
		/*height: calc(100vh - 75px);*/
	}

	.msh-form-left {
		justify-content: center;
	}
	.formulaire .msh-form-container{
	    max-width: 100%;
	}
	.formulaire.vc_row:not(.vc_inner)  > .wpb_column {
		max-width: 100% !important;
		width: 100% !important;
		padding: 0 !important;
	}
	.msh-form-success-message {
		background: transparent !important;
		background-image: url('/wp-content/uploads/2025/09/Resultats.png') !important;
		justify-content: center;
		margin-top: 0vh !important;
		background-size: contain;
		background-position: center !important;
		height: auto !important;
		background-repeat: no-repeat !important;
	}
	.msh-form-success-message-layout {
		gap: 0;
	}
	.msh-form-success-message h1 {
		background: radial-gradient(50% 50% at 50% 50%, #ffffff 73.84%, rgba(255, 255, 255, 0) 99.67%);
		padding: 24px;
	}
	.msh-form-success-message-layout {
		align-items: center;
		height: auto;
		min-height: max-content;
		justify-content: center;
		align-items: center;
		background: radial-gradient(50% 50% at 50% 50%, #ffffff 50.84%, rgba(255, 255, 255, 0) 98.67%);
	}
	.msh-form-success-message h1, .msh-form-success-message h2 {
		font-size: 30px !important;
	}

	.msh-form-success-message-layout .btn {
		margin-right: 0 !important;
		/*padding-right: 0 !important;*/
		margin-top: 20px !important;
	}
    .msh-form-connection .msh-form-right {
        display: none;
    }  
	

	.nice-select.msh-form-select ul.list > li {
		font-size: 13px;
		line-height: 27px;
	}
 }
 
 @media (max-width: 1023px) {

     .msh-form-right {
        display: none;
    }  
 }


@media (max-width: 768px) {
	.msh-form-success-message {
		margin-top: 20vh !important;
	}
.msh-form-field.msh-form-field-50 .msh-form-radio-content:after {
    right: 16px;
}
	.msh-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEzIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDAuNUw1LjgyNzMzIDQuODg4NDhDNi4yMDg3NSA1LjIzNTIzIDYuNzkxMjUgNS4yMzUyMyA3LjE3MjY3IDQuODg4NDhMMTIgMC41IiBzdHJva2U9IiMxNTE1MTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K) no-repeat right 16px center;
}
	
	.msh-form-success-message {
		background-position-y: 50px !important;
	}
    .msh-form-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
}
    .msh-form-step-content-layout {
        padding-right: 0;
    }
    .msh-profile-step-content-layout {
        padding-right: 0;
    }
    .msh-form-right {
        width: 100%;
        order: -1;
        min-height: auto;
    }

    .msh-form-content {
        flex-direction: column;
    }
.msh-form-right {
    width: 100%;
    order: -1;
    min-height: auto;
    max-width: 100%;
    display: none;
}
    .msh-form-left {
        padding: 20px;
    }
    .msh-form-step-content-layout {
        gap: 16px;
    }
    .msh-profile-step-content-layout {
        gap: 16px;
    }
        
    .msh-form-header {
        padding: 15px 20px;
    }
    
    .msh-form-title {
        font-size: 24px;
        margin-bottom: 0;
    }
    
    .msh-form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .msh-form-field-50,
    .msh-form-field-33,
    .msh-form-field-25 {
        min-width: 100%;
    }
}
@media (max-width: 767px) {
	.formulaire.vc_row:not(.vc_inner)  > .wpb_column {
		max-width: 100% !important;
		width: 100% !important;
	}
}
@media (max-width: 600px) {
	.msh-form-success-message {
		background-size: 600px !important;
	}
}

@media (max-width: 480px) {
.msh-form-success-message {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: calc(100vh - 57px) !important;
    min-height: calc(100vh - 57px) !important;
    background-size: contain !important;
    background-position: center !important;
    background-position-y: center !important;
    background-image: url(/wp-content/uploads/2025/09/Resultats-1.svg) !important;
}
	
	
	
    .msh-form-left {
        padding: 16px;
    }
    
    .msh-form-progress-bar {
        left: 0;
        right: 0;
    }
    
    .msh-form-header {
        padding: 12px 15px;
    }
    
    .msh-form-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
	.msh-form-input, .msh-form-textarea, .msh-form-select {
		padding: 14px 10px;
		font-size: 16px;
	}
    
    .msh-form-label {
        left: 14px;
        top: 14px;
    }
    
	.msh-form-radio-content, .msh-form-checkbox-content {
		padding: 14px 10px;
	}
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msh-form-step-content {
    animation: fadeInUp 0.3s ease-out;
}
.msh-profile-step-content {
    animation: fadeInUp 0.3s ease-out;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour l'accessibilité */
.msh-form-next:focus-visible,
.msh-form-submit:focus-visible,
.msh-form-back:focus-visible,
.msh-form-close:focus-visible {
    outline: 2px solid var(--msh-primary);
    outline-offset: 2px;
}

/* Amélioration du contraste pour l'accessibilité */
@media (prefers-contrast: high) {
    :root {
        --msh-border: #666666;
        --msh-text-light: #333333;
    }
}


/* Styles pour le champ téléphone avec sélecteur de code pays */
.msh-form-phone-container {
    display: flex;
    gap: 12px;
    width: 100%;
}

.msh-form-phone-country {
    flex-shrink: 0;
    max-width: 138px;
    width: 100%;
}

.msh-form-phone-country-select {
    width: 100%;
    background: var(--msh-white);
    border: 1px solid #D9DCEC;
    border-radius: 16px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.1px;
    color: #151515;
    padding: 20px 12px;
    outline: none;
    transition: var(--msh-transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEzIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDAuNUw1LjgyNzMzIDQuODg4NDhDNi4yMDg3NSA1LjIzNTIzIDYuNzkxMjUgNS4yMzUyMyA3LjE3MjY3IDQuODg4NDhMMTIgMC41IiBzdHJva2U9IiMxNTE1MTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K);
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
}

.msh-form-phone-country-select:focus {
    border-color: #7900F0;
}

.msh-form-phone-number {
    flex: 1;
}

.msh-form-phone-input {
    width: 100%;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    /* .msh-form-phone-container {
        flex-direction: column;
        gap: 16px;
    } */
    
    .msh-form-phone-country {
        width: 100%;
    }
}


/* Styles pour les champs de fichiers multiples */
.msh-form-multiple-files-container {
    width: 100%;
}

.msh-form-field-label {
    display: block;
    margin-bottom: 12px;
    font-family: Poppins;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #151515;
}

.msh-form-required {
    color: var(--msh-error);
    margin-left: 4px;
}

.msh-form-file-drop-zone {
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: var(--msh-transition);
    margin-bottom: 12px;
    border-radius: 16px;
    border: 1px dashed #7900F0;
    background: #F7F7F7;
}

.msh-form-file-drop-zone:hover,
.msh-form-file-drop-zone.msh-form-file-drop-active {
    border-color: #7C3AED;
    background: #F3F0FF;
}

.msh-form-file-drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.msh-form-file-upload-icon {
    width: 48px;
    height: 48px;
}
.msh-form-file-drop-text {
    color: #151515;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.15px;
}

.msh-form-file-drop-link {
    color: #7900F0;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: -0.15px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.msh-form-file-input {
    display: none;
}

.msh-form-files-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    
}

.msh-form-file-card {
    border-radius: 16px;
    border: 1px solid #D9DCEC;
    display: flex;
    padding: 20px 30px;
    align-items: center;
    gap: 12px;
    width: 50%;
    max-width: calc(50% - 6px);
}
.msh-form-file-card:hover {
    border: 1px solid #DD472B;
}


.msh-form-file-card.msh-form-file-error {
    border-color: var(--msh-error);
    background: #FEF2F2;
}

.msh-form-file-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msh-form-file-info {
    min-width: 0;
    display: flex;
    gap: 12px;
}
.msh-form-file-name {
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.15px;
    color: #151515;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.msh-form-file-size {
    color: #151515;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.15px;
    width: 100%;
    max-width: max-content;
}
.msh-form-file-remove {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--msh-transition);
    padding: 0;
}

.fbp-solution-actions-btn-3:hover:after {
    transform: scale(1);
    opacity: 1;
    width: 26px;
}

.fbp-solution-actions-btn-3::after {
        content: '';
    background-size: cover;
    background-repeat: no-repeat;
    width: 0;
    height: 26px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
    transform: translateX(10px);
    overflow: hidden;
    transition: width 0.6s ease, margin-left 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
    position: absolute;
    opacity: 0;
    right: -6px;
    background-image: url(/wp-content/uploads/2025/06/arrow-white-2.svg);
}
.fbp-solution-actions-btn-3::after {
    transform: scale(0.0001);
    transform-origin: center center;
    vertical-align: middle;
    transition: transform 0.6s ease, opacity 0.6s ease;
    right: 12px;
}


.fbp-solution-actions-btn-3:hover {
    padding-left: 20px !important;
    padding-right: 50px !important;
}

.msh-form-file-remove:hover {
    background: #FEF2F2;
}

.msh-form-file-remove svg {
    width: 16px;
    height: 16px;
}

.msh-form-file-card:hover .msh-form-file-name, .msh-form-file-card:hover .msh-form-file-size {
    color: #DD472B;
}
.msh-form-file-card:hover .msh-form-file-icon svg {
    filter: brightness(0) saturate(100%) invert(34%) sepia(77%) saturate(4364%) hue-rotate(352deg) brightness(96%) contrast(80%);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .msh-form-files-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .msh-form-file-drop-zone {
        padding: 24px 16px;
    }
    
    .msh-form-file-drop-content {
        gap: 12px;
    }
    
    .msh-form-file-upload-icon {
        width: 40px;
        height: 40px;
    }
    
    .msh-form-file-drop-text {
        font-size: 14px;
    }
    
    .msh-form-file-card {
        padding: 12px;
        gap: 8px;
    }
    
    .msh-form-file-name {
        font-size: 13px;
    }
    
    .msh-form-file-size {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
	.msh-form-field.msh-form-field-50[data-label=tel-mail] .msh-form-radio-icon {
		display: none;
	}
}

@media (max-width: 350px) {
	.msh-form-label-float, .msh-form-input:focus + .msh-form-label {
		font-size: 12px !important;
		line-height: 14px !important;
	}
	.msh-form-radio-label {
		font-size: 14px;
	}
	.msh-form-radio-content-2 {
		gap: 6px;
		width: 100%;
	}
    .msh-fom-radio-label {
		max-width: calc(100% - 40px);
	}
	.msh-form-field.msh-form-field-50 .msh-form-radio-content:after {
		right: 10px;
	}
	.msh-form-select {
		background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEzIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDAuNUw1LjgyNzMzIDQuODg4NDhDNi4yMDg3NSA1LjIzNTIzIDYuNzkxMjUgNS4yMzUyMyA3LjE3MjY3IDQuODg4NDhMMTIgMC41IiBzdHJva2U9IiMxNTE1MTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K) no-repeat right 10px center;
	}
}

/* Animation pour l'ajout/suppression de fichiers */
.msh-form-file-card {
    animation: msh-file-card-enter 0.3s ease-out;
}

@keyframes msh-file-card-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* État de chargement */
.msh-form-file-card.msh-form-file-loading {
    opacity: 0.6;
    pointer-events: none;
}

.msh-form-file-card.msh-form-file-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #E5E7EB;
    border-top-color: #8B5CF6;
    border-radius: 50%;
    animation: msh-file-loading-spin 1s linear infinite;
}

@keyframes msh-file-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

