@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo300-Regular.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo500-Regular.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo700-Regular.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo900-Regular.otf') format('opentype');
    font-weight: 900;
}

.rdvtrecobat-icon svg {
    overflow: auto;
    vertical-align: baseline;
}

.rdvtrecobat-wrapper,
.rdvtrecobat-modal {
    font-family: var(--rdvtrecobat-font) !important;
}

.rdvtrecobat-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 40px;
    box-sizing: border-box;
}

.rdvtrecobat-modal h1,
.rdvtrecobat-modal h2,
.rdvtrecobat-modal h3,
.rdvtrecobat-modal h4,
.rdvtrecobat-modal h5,
.rdvtrecobat-modal h6 {
    color: inherit;
    font-family: var(--rdvtrecobat-font);
    font-weight: 500;
    line-height: 1.2;
    margin-block-end: 1rem;
    margin-block-start: .5rem;
}

.rdvtrecobat-modal p,
.rdvtrecobat-modal input,
.rdvtrecobat-modal select,
.rdvtrecobat-modal button,
.rdvtrecobat-modal textarea {
    font-family: var(--rdvtrecobat-font);
}

.rdvtrecobat-modal-inner .back_to_site {
    position: absolute;
    top: -26px;
    right: 10px;
    color: #6A6A6A;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #6A6A6A;
}

.rdvtrecobat-modal-inner {
    display: flex;
    margin: auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    overflow: visible;
    min-height: 657px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.rdvtrecobat-modal-left {
    max-width: 260px;
    width: 260px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #D9D9D9;
}

.rdvtrecobat-modal-left img {
    width: 100%;
    max-width: 153px;
    margin-bottom: 40px;
}

.rdvtrecobat-logo {
    width: 80px;
    margin-bottom: 20px;
}

.rdvtrecobat-agency {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    color: #333;
}

.rdvtrecobat-agency strong {
    font-weight: 600;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-right {
    flex: 1;
    padding: 30px;
    position: relative;
    min-width: 795px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.rdvtrecobat-modal-right h2 {
    font-size: 22px;
    margin-top: 0;
    font-weight: 600;
    text-align: center;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-right-content {
    width: fit-content;
    margin: 0 auto;
    max-width: 400px;
    max-height: 542px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 14px;
    justify-content: space-between;
}

.rdvtrecobat-modal-right-content .rdvtrecobat-intro-choice h2 {
    font-size: 17px;
    text-align: left;
}

.rdvtrecobat-modal-right-content .rdvtrecobat-intro-choice.text-center h2 {
    text-align: center;
}

.rdvtrecobat-modal-right-content .rdvtrecobat-intro-choice.text-center .rdvtrecobat-modal-right-content-subtitle {
    text-align: center;
    justify-content: center;
}

.rdvtrecobat-subtitle {
    color: #555;
    font-size: 14px;
    margin-bottom: 30px;
    margin-top: 0;
}

.rdvtrecobat-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
    background: #fff;
    padding: 24px 42px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: border 0.3s;
    outline: none !important;
}

.rdvtrecobat-option strong {
    font-size: 15px;
}

.rdvtrecobat-option img {
    width: 36px;
}

.rdvtrecobat-visio-text,
.rdvtrecobat-tel-text {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 18px;
    font-weight: 400;
    font-size: 16px;
    color: #000;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-visio,
.rdvtrecobat-tel {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #6A6A6A;
    color: #6A6A6A;
    transition: all 0.3s ease;
    padding: 7px 20px;
    background: white;
    border-radius: 20px;
    font-size: 14px;
    margin: 0 auto;
    cursor: pointer;
}

.rdvtrecobat-tel-wrapper:hover .rdvtrecobat-tel .icon-tel2 path {
    stroke: #fff;
    fill:#fff;
}

.rdvtrecobat-visio .icon-visio,
.rdvtrecobat-tel .icon-tel2 {
    height: 26px;
}

.rdvtrecobat-icon.icon-back svg path {
    fill: var(--rdvtrecobat-primary);
}

.rdvtrecobat-tel .icon-tel2 svg {
    height: 26px;
}

.rdvtrecobat-visio:hover,
.rdvtrecobat-visio:focus,
.rdvtrecobat-tel:hover,
.rdvtrecobat-tel:focus {
    background-color: #6A6A6A;
    color: #fff;
}

.rdvtrecobat-visio img {
    width: 20px;
}

.close-rdvtrecobat,
.close-rdvtrecobat-finish {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.close-rdvtrecobat:hover,
.close-rdvtrecobat:focus,
.close-rdvtrecobat-finish:hover,
.close-rdvtrecobat-finish:focus {
    background-color: transparent;
    outline: none;
}

.rdvtrecobat-option {
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    color: var(--rdvtrecobat-primary);
    margin-bottom: 0;
}

.rdvtrecobat-option:nth-child(1) {
    margin-bottom: 30px;
}

.rdvtrecobat-option.active {
    border: 2px solid var(--rdvtrecobat-primary);
}

.rdvtrecobat-option:hover,
.rdvtrecobat-option:focus {
    background: var(--rdvtrecobat-primary);
    color: #fff;
}

.rdvtrecobat-option:hover svg path,
.rdvtrecobat-option:focus svg path {
    stroke: #fff;
}

.rdvtrecobat-option.rdvtrecobat-agence-call:hover svg path,
.rdvtrecobat-option.rdvtrecobat-agence-call:focus svg path {
    stroke: #fff;
    fill:#fff;
}

.rdvtrecobat-option i.rdvtrecobat-icon.icon-house,
.rdvtrecobat-option i.rdvtrecobat-icon.icon-building {
    width: 50px;
    display: flex;
}

.rdvtrecobat-option i.rdvtrecobat-icon.icon-house path.cls-1,
.rdvtrecobat-option i.rdvtrecobat-icon.icon-building path.cls-1 {
    fill: var(--rdvtrecobat-primary);
}

.rdvtrecobat-option:hover i.rdvtrecobat-icon.icon-house path.cls-1,
.rdvtrecobat-option:hover i.rdvtrecobat-icon.icon-building path.cls-1 {
    fill: #fff;
}

.rdvtrecobat-option:hover .icon-house path,
.rdvtrecobat-option.active:hover .icon-house path,
.rdvtrecobat-option:focus .icon-house path {
    stroke: #fff;
}

.rdvtrecobat-option.active:hover .icon-clock path {
    stroke: #fff;
}

.rdvtrecobat-option:hover strong,
.rdvtrecobat-option:hover small,
.rdvtrecobat-option:focus strong,
.rdvtrecobat-option:focus small {
    color: #fff;
}

.rdvtrecobat-option-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    color: #6A6A6A;
}

.rdvtrecobat-option-content.nogap {
    gap: 0;
}

.rdvtrecobat-option-content-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rdvtrecobat-option-content-tel {
    display: flex;
    flex-direction: column;
}

.rdvtrecobat-option-content-tel small.little {
    font-size: 10px;
}

.rdvtrecobat-option-content-time i {
    height: 20px;
}

.rdvtrecobat-option-content-time i svg path {
    stroke: #6A6A6A;
}

.rdvtrecobat-option-content-time small {
    line-height: 20px;
}

.rdvtrecobat-wrapper button.open-rdvtrecobat {
    background-color: var(--rdvtrecobat-primary);
    border: 1px solid var(--rdvtrecobat-primary);
    font-family: var(--rdvtrecobat-font);
    outline: none;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 3px;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: .5rem 1rem;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rdvtrecobat-wrapper button.open-rdvtrecobat svg path {
    stroke: #fff;
}

.rdvtrecobat-wrapper button.open-rdvtrecobat svg {
    width: 18px;
    height: 18px;
}

.rdvtrecobat-wrapper button.open-rdvtrecobat:hover,
.rdvtrecobat-wrapper button.open-rdvtrecobat:focus {
    background-color: var(--rdvtrecobat-secondary);
    border: 1px solid var(--rdvtrecobat-secondary);
    color: #fff;
    outline: none;
}

.rdvtrecobat-modal-right-content-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.rdvtrecobat-modal-right-content-subtitle p {
    color: #000;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-step {
    display: none;
}

.rdvtrecobat-step.active {
    display: block;
}

.rdvtrecobat-step.step-3 .rdvtrecobat-modal-right-content h2 {
    text-align: center;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-step.step-3 .rdvtrecobat-modal-right-content {
    max-width: 420px;
}

.rdvtrecobat-icon.icon-back {
    position: absolute;
    left: 20px;
    top: 20px;
    padding: .47rem 0.40rem;
    cursor: pointer;
}

.rdvtrecobat-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    border-radius: 10px;
}

.rdvtrecobat-loader .loader-inner {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #f44336;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 999999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
}

.rdvtrecobat-toast.success {
    background: #4caf50;
}

.rdvtrecobat-toast.info {
    background: #f8ba46;
}

.rdvtrecobat-calendar-content {
    display: flex;
    flex-direction: row;
    gap: 70px;
    width: 100%;
}

.rdvtrecobat-calendar .flatpickr-calendar {
    box-shadow: none !important;
    border: none !important;
}

.rdvtrecobat-calendar .flatpickr-calendar .numInputWrapper {
    display: none !important;
}

.rdvtrecobat-calendar .flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdvtrecobat-calendar .flatpickr-calendar .flatpickr-months {
    margin-bottom: 20px;
}

.rdvtrecobat-calendar .flatpickr-calendar .flatpickr-monthDropdown-months {
    text-align: center;
    text-transform: capitalize;
    -webkit-appearance: none;
    /* Chrome, Safari, Edge */
    -moz-appearance: none;
    /* Firefox */
    appearance: none;

    background: none;
    /* Supprime aussi le fond si besoin */
    border: none;
    /* À ajuster selon ton style */
}

.rdvtrecobat-calendar .flatpickr-calendar .flatpickr-monthDropdown-months:hover {
    background-color: transparent;
}


.rdvtrecobat-step.step-2 .rdvtrecobat-modal-right-content {
    max-width: max-content !important;
}

.rdvtrecobat-time-slots-content {
    max-width: 270px;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 380px;
    gap: 10px;
    overflow-y: scroll;
}

.rdvtrecobat-time-slots-content::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.rdvtrecobat-time-slots-content::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

.rdvtrecobat-time-slots-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--rdvtrecobat-secondary);
}

.rdvtrecobat-time-slots-content button {
    flex: 0 0 70%;
    padding: 16px 18px;
    border: 1px solid #979696;
    background-color: var(--rdvtrecobat-secondary-25);
    color: var(--rdvtrecobat-secondary);
    border-radius: 8px;
}

.rdvtrecobat-time-slots-content .rdvtrecobat-slot-wrapper {
    flex: 0 0 70%;
    margin-bottom: 0 !important;
}

.rdvtrecobat-time-slots-content button:hover,
.rdvtrecobat-time-slots-content button:focus {
    background-color: var(--rdvtrecobat-secondary);
    color: #fff;
    border: 1px solid var(--rdvtrecobat-secondary);
}

.rdvtrecobat-time-slots-content button.active {
    border: 1px solid var(--rdvtrecobat-secondary);
}

.rdvtrecobat-time-slots {
    min-height: 428px;
}

.rdvtrecobat-time-slots h3 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
    text-align: center;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-time-slots-content .rdvtrecobat-slot-validate {
    background-color: var(--rdvtrecobat-secondary);
    color: #fff;
    border: 1px solid var(--rdvtrecobat-secondary);
}

.rdvtrecobat-calendar .flatpickr-day.selected {
    background-color: var(--rdvtrecobat-secondary) !important;
    color: #fff !important;
    border-color: var(--rdvtrecobat-secondary) !important;
}

.rdvtrecobat-calendar .flatpickr-day.today {
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

.rdvtrecobat-calendar .flatpickr-day.today.selected {
    background-color: var(--rdvtrecobat-secondary) !important;
    color: #fff !important;
    border: 1px solid var(--rdvtrecobat-secondary) !important;
}

.rdvtrecobat-modal-left-content {
    background: #fff;
    padding: 30px;
    height: 100%;
    border-radius: 10px 0 0 10px;
}

.rdvtrecobat-modal-left-content-pending {
    border-radius: 10px 0 0 0;
}

.rdvtrecobat-modal-left-content-pending-bottom,
.rdvtrecobat-modal-left-content-pending-bottom-mobile {
    border-radius: 0 0 0 10px;
}

.rdvtrecobat-modal-left-content-pending,
.rdvtrecobat-modal-left-content-pending-mobile,
.rdvtrecobat-modal-left-content-pending-bottom,
.rdvtrecobat-modal-left-content-pending-bottom-mobile {
    background-color: #fff;
    padding: 30px;
    height: 100%;
}

.rdvtrecobat-modal-left-content-pending .rdvtrecobat-logo {
    margin-bottom: 18px;
}

.rdvtrecobat-modal-left-content-pending h3 {
    text-align: left;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    color: var(--rdvtrecobat-primary);
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-pending h3 span {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #000;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-commercial,
.rdvtrecobat-modal-left-content-commercial-finish {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rdvtrecobat-modal-left-content-commercial .rdvtrecobat-modal-left-content-commercial_image,
.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_image {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    border: 1px solid #000;
}

.rdvtrecobat-modal-left-content-commercial .rdvtrecobat-modal-left-content-commercial_image img,
.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_image img {
    width: 100%;
    border-radius: 50%;
}

.rdvtrecobat-modal-left-content-commercial .rdvtrecobat-modal-left-content-commercial_text,
.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_text {
    text-align: left;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.rdvtrecobat-modal-left-content-commercial .rdvtrecobat-modal-left-content-commercial_text strong,
.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_text strong {
    font-family: 'Museo', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 17.7px;
    color: var(--rdvtrecobat-primary);
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-commercial .rdvtrecobat-modal-left-content-commercial_text small,
.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_text small {
    font-weight: 400;
    font-size: 12px;
    line-height: 17.7px;
    color: #000;
}

.rdvtrecobat-modal-left-content-steps,
.rdvtrecobat-modal-left-content-steps-finish {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.rdvtrecobat-modal-left-content-step {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.rdvtrecobat-modal-left-content-step span {
    color: #C4C4C4;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-step i {
    flex: 0 0 28px;
    width: 28px;
}

.rdvtrecobat-modal-left-content-step.active i.icon-marker svg path {
    fill: var(--rdvtrecobat-secondary);
    stroke: none;
}

.rdvtrecobat-modal-left-content-step.active i.icon-visio svg path:first-child {
    fill: var(--rdvtrecobat-secondary);
}

.rdvtrecobat-modal-left-content-step.active i svg path {
    stroke: var(--rdvtrecobat-secondary);
}

.rdvtrecobat-modal-left-content-step.active span {
    color: var(--rdvtrecobat-secondary);
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-pending-bottom-text,
.rdvtrecobat-modal-left-content-pending-bottom-text-mobile {
    text-align: left;
    margin-bottom: 20px;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-pending-bottom-text p,
.rdvtrecobat-modal-left-content-pending-bottom-text-mobile p,
.rdvtrecobat-modal-right-content-pending-bottom-text p {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 17.7px;
    margin-top: 0;
    color: #000;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-pending-bottom-buttons,
.rdvtrecobat-modal-left-content-pending-bottom-buttons-mobile,
.rdvtrecobat-modal-right-content-pending-bottom-buttons {
    width: fit-content;
    cursor: pointer;
}

.rdvtrecobat-modal-left-content-pending-bottom-button,
.rdvtrecobat-modal-left-content-pending-bottom-button-mobile,
.rdvtrecobat-modal-right-content-pending-bottom-button {
    border: 2px solid #979696;
    color: #979696;
    background-color: transparent;
    border-radius: 19.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 20px;
    gap: 11px;
    font-weight: 300;
    font-size: 14px;
    outline: none;
}

.rdvtrecobat-modal-left-content-pending-bottom-button i,
.rdvtrecobat-modal-left-content-pending-bottom-button-mobile i,
.rdvtrecobat-modal-right-content-pending-bottom-button i {
    width: 24px;
    height: 24px;
}

.rdvtrecobat-modal-left-content-pending-bottom-button:hover,
.rdvtrecobat-modal-left-content-pending-bottom-button:focus,
.rdvtrecobat-modal-left-content-pending-bottom-button-mobile:hover,
.rdvtrecobat-modal-left-content-pending-bottom-button-mobile:focus,
.rdvtrecobat-modal-right-content-pending-bottom-button:hover,
.rdvtrecobat-modal-right-content-pending-bottom-button:focus {
    background-color: #979696;
    color: #fff;
}

.rdvtrecobat-modal-left-content-pending-bottom-button:hover i svg path,
.rdvtrecobat-modal-left-content-pending-bottom-button:focus i svg path,
.rdvtrecobat-modal-left-content-pending-bottom-button-mobile:hover i svg path,
.rdvtrecobat-modal-left-content-pending-bottom-button-mobile:focus i svg path,
.rdvtrecobat-modal-right-content-pending-bottom-button:hover i svg path,
.rdvtrecobat-modal-right-content-pending-bottom-button:focus i svg path {
    fill: #fff;
}

.rdvtrecobat-form-coordonnees,
.rdvtrecobat-form-coordonnees-closing,
.rdvtrecobat-form-callback {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.rdvtrecobat-form-coordonnees fieldset:disabled,
.rdvtrecobat-form-coordonnees-closing fieldset:disabled {
    background-color: #EEEEEE;
}

.rdvtrecobat-form-coordonnees fieldset,
.rdvtrecobat-form-coordonnees-closing fieldset,
.rdvtrecobat-form-callback fieldset {
    margin: 0;
    padding: 0;
    height: fit-content;
    border-radius: 10px;
    border-color: #000;
    border: 2px solid #000;
}

.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset input,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset select,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-closing fieldset input,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-closing fieldset select,
.rdvtrecobat-modal .rdvtrecobat-form-callback fieldset input,
.rdvtrecobat-modal .rdvtrecobat-form-callback fieldset select {
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    width: calc(100% - 30px);
    border: none;
    margin-top: -10px;
    background-color: transparent;
    outline: none;
}

.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset select {
    width: 100% !important;
    min-height: 38px !important;
}

.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset input:hover,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset input:focus,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset select:hover,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees fieldset select:focus,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-closing fieldset input:hover,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-closing fieldset input:focus,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-closing fieldset select:hover,
.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-closing fieldset select:focus,
.rdvtrecobat-modal .rdvtrecobat-form-callback fieldset input:hover,
.rdvtrecobat-modal .rdvtrecobat-form-callback fieldset input:focus,
.rdvtrecobat-modal .rdvtrecobat-form-callback fieldset select:hover,
.rdvtrecobat-modal .rdvtrecobat-form-callback fieldset select:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.rdvtrecobat-modal .rdvtrecobat-form-coordonnees-ville {
    height: 32px !important;
}

.rdvtrecobat-form-coordonnees fieldset legend,
.rdvtrecobat-form-callback fieldset legend {
    margin-bottom: auto;
    font-size: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
    margin-left: 15px;
    background-color: #fff;
    padding: 0 6px;
    border-radius: 4px;
    width: fit-content;
}

.telephone-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 0 0 100%;
}

.telephone-section i {
    width: 24px;
    height: 24px;
    color: #6A6A6A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 10px;
}

.telephone-section .tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.telephone-section .tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    width: 220px;
    white-space: normal;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.telephone-section .tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-form-coordonnees fieldset.width-50,
.rdvtrecobat-form-coordonnees-closing fieldset.width-50 {
    width: 50%;
    flex: 0 0 calc(50% - 8px);
}

.rdvtrecobat-form-coordonnees fieldset.width-30,
.rdvtrecobat-form-coordonnees-closing fieldset.width-30 {
    width: 30%;
    flex: 0 0 calc(30% - 8px);
}

.rdvtrecobat-form-coordonnees fieldset.width-40,
.rdvtrecobat-form-coordonnees-closing fieldset.width-40 {
    width: 40%;
    flex: 0 0 calc(40% - 8px);
}

.rdvtrecobat-form-coordonnees fieldset.width-60,
.rdvtrecobat-form-coordonnees-closing fieldset.width-60 {
    width: 60%;
    flex: 0 0 calc(60% - 8px);
}

.rdvtrecobat-form-coordonnees fieldset.width-100,
.rdvtrecobat-form-coordonnees-closing fieldset.width-100,
.rdvtrecobat-form-callback fieldset.width-100 {
    width: 100%;
    flex: 0 0 100%;
}

.rdvtrecobat-form-coordonnees .invite-section,
.rdvtrecobat-form-coordonnees-closing .invite-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.rdvtrecobat-form-coordonnees .invite-section button,
.rdvtrecobat-form-coordonnees-closing .invite-section button {
    padding: 10px 18px;
    opacity: 1;
    border-radius: 42px;
    border-width: 1px;
    border: 1px solid #000;
    background-color: transparent;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    line-height: 16px;
    cursor: pointer;
}

.rdvtrecobat-form-coordonnees .invite-section button:hover,
.rdvtrecobat-form-coordonnees .invite-section button:focus,
.rdvtrecobat-form-coordonnees-closing .invite-section button:hover,
.rdvtrecobat-form-coordonnees-closing .invite-section button:focus {
    background-color: #000;
    color: #fff;
}

.rdvtrecobat-form-coordonnees button[type="submit"],
.rdvtrecobat-form-coordonnees-closing button[type="submit"] {
    background-color: var(--rdvtrecobat-secondary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.5 !important;
}

.rdvtrecobat-form-coordonnees-closing .submit-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rdvtrecobat-form-coordonnees-closing button.close {
    background-color: white;
    color: var(--rdvtrecobat-secondary);
    border: 2px solid var(--rdvtrecobat-secondary);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.5 !important;
}

.rdvtrecobat-form-coordonnees .rgpd-section,
.rdvtrecobat-form-coordonnees-closing .rgpd-section {
    margin-bottom: 0;
    line-height: 1;
}

.rdvtrecobat-form-coordonnees .rgpd-section a,
.rdvtrecobat-form-coordonnees-closing .rgpd-section a {
    color: #000;
    text-decoration: underline;
}

.rdvtrecobat-form-coordonnees .rgpd-section a:hover,
.rdvtrecobat-form-coordonnees .rgpd-section a:focus,
.rdvtrecobat-form-coordonnees-closing .rgpd-section a:hover,
.rdvtrecobat-form-coordonnees-closing .rgpd-section a:focus {
    color: var(--rdvtrecobat-primary);
}

.rdvtrecobat-form-coordonnees-closing {
    width: 100%;
    flex-direction: column;
}

.rdvtrecobat-form-coordonnees-closing button[type="submit"] {
    width: fit-content;
}

.rdvtrecobat-confirm h2 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
    color: var(--rdvtrecobat-primary);
    text-align: center;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-calendar-add {
    background-color: var(--rdvtrecobat-secondary);
    color: #fff;
    border-radius: 10px;
    margin: 0 auto;
    padding: 16px 22px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    border: none;
    display: block;
}

.rdvtrecobat-calendar-add:hover,
.rdvtrecobat-calendar-add:focus {
    background-color: var(--rdvtrecobat-primary);
    color: #fff;
    border: none;
    outline: none;
}

.rdvtrecobat-step.step-4 {
    max-width: 470px;
    margin: 0 auto;
}

.rdvtrecobat-step.step-4 .rdvtrecobat-icon.icon-check {
    height: 62px;
    width: 62px;
    border: 4px solid #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.rdvtrecobat-icon.icon-check svg path {
    stroke: var(--rdvtrecobat-primary);
}

.rdvtrecobat-step.step-4 .rdvtrecobat-email-info {
    margin: 20px 0;
}

.rdvtrecobat-step.step-4 h2 {
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-family: var(--rdvtrecobat-font, sans-serif);
    margin-bottom: 4px;
}

.rdvtrecobat-step.step-4 h2 span {
    font-size: 14px;
    line-height: 20px;
    color: #2D2D2D;
    font-weight: 400;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-validate_budget {
    display: none !important;
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fdf5f1;
    border-top: 2px solid #ce3117;
    flex-direction: row;
    padding: 12px;
}

.rdvtrecobat-modal-validate_budget-content {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.rdvtrecobat-modal-validate_budget i {
    width: 50px;
}

.rdvtrecobat-modal-validate_budget i .cls-1 {
    stroke: none !important;
}

.rdvtrecobat-modal-validate_budget h3 {
    margin-bottom: 4px;
    font-weight: bold;
    color: #1f4168;
}

.rdvtrecobat-modal-validate_budget p {
    margin-bottom: 0;
    margin-top: 0;
    color: #403a37;
}

.rdvtrecobat-modal-validate_budget p a {
    color: #e64114;
    text-decoration: underline;
}

.rdvtrecobat-modal-validate_budget .btn {
    background-color: #fff;
    border-radius: 10px;
    color: #e64114;
    text-decoration: none;
    border: 2px solid #e64114;
    padding: 12px 20px;
    font-weight: 600;
}

.rdvtrecobat-modal-left-content-steps-finish {
    width: fit-content;
    margin: 0 auto;
}

.rdvtrecobat-modal-left-content-commercial-finish {
    justify-content: center;
}

.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_text {
    flex-direction: column;
}

.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_text strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 17.7px;
    font-family: var(--rdvtrecobat-font, sans-serif);
}

.rdvtrecobat-modal-left-content-commercial-finish .rdvtrecobat-modal-left-content-commercial_image {
    width: 64px;
    height: 64px;
    min-width: 64px;
}

.rdvtrecobat-form-callback select[name="dateRdv"] {
    background-color: transparent;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #000;
    padding: 10px 0;
    width: 100%;
    border-radius: 0;
    outline: none;
}

.rdvtrecobat-form-callback .callback-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.rdvtrecobat-form-callback .callback-section button {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--rdvtrecobat-secondary);
    color: #6A6A6A;
    padding: 10px 0;
    font-weight: 600;
}

.rdvtrecobat-form-callback .callback-section button:hover,
.rdvtrecobat-form-callback .callback-section button:focus {
    background-color: var(--rdvtrecobat-secondary);
    border: 1px solid var(--rdvtrecobat-secondary);
    color: #fff;
}

.rdvtrecobat-form-callback .callback-section button.primary {
    background-color: var(--rdvtrecobat-secondary);
    border: 1px solid var(--rdvtrecobat-secondary);
    color: #fff;
    padding: 10px 0;
    font-weight: 600;
}

.rdvtrecobat-form-callback .callback-section button.primary:hover,
.rdvtrecobat-form-callback .callback-section button.primary:focus {
    background-color: #fff;
    border: 1px solid var(--rdvtrecobat-secondary);
    color: var(--rdvtrecobat-secondary);
}

.rdvtrecobat-modal-left .close-rdvtrecobat,
.rdvtrecobat-modal-left .rdvtrecobat-icon.icon-back,
.rdvtrecobat-agency-mobile,
.rdvtrecobat-modal-footer-mobile {
    display: none;
}

.rdvtrecobat-step-2-title i {
    display: none;
}

.rdvtrecobat-calendar-content-dropdown {
    display: none;
}

.rdvtrecobat-modal-right-content-pending-bottom-text {
    font-weight: 600;
    font-size: 12px;
    line-height: 17.7px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.rdvtrecobat-modal-right-content-pending-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rdvtrecobat-form-coordonnees .invite-emails {
    width: 100%;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.rdvtrecobat-form-coordonnees .invite-emails .invite-field {
    width: 100%;
}

.rdvtrecobat-form-coordonnees .invite-emails .invite-field fieldset {
    position: relative;
}

.rdvtrecobat-form-coordonnees .invite-emails .invite-field fieldset button {
    position: absolute;
    padding: 4px 10px;
    right: 0;
    height: calc(100% + 12px);
    top: -11px;
    border-radius: 7px;
    aspect-ratio: 1 / 1;
    background-color: #000;
    border-color: #000;
    color: #fff;
    font-weight: bold;
    overflow: hidden;
    cursor: pointer;
    border: 0px;
}

.hide {
    display: none !important;
}

.dropdown-container {
    max-width: 700px;
    margin-top: 40px;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    font-size: 12px;
    border-bottom: 1px solid var(--rdvtrecobat-secondary);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-header.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
}

.dropdown-content a {
    color: var(--rdvtrecobat-secondary);
    text-decoration: underline;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    /* ou la largeur que tu veux */
}

.custom-select select {
    width: 100%;
    padding: 10px 40px 10px 12px;
    /* espace pour la flèche à droite */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    appearance: none;
    /* masque la flèche native */
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    cursor: pointer;
}

/* Ajout de la flèche custom */
.custom-select::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 15px;
    height: 9px;
    pointer-events: none;
    transform: translateY(-50%);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='9' fill='none'><path stroke='%233C508F' stroke-linecap='round' stroke-width='2' d='M13.924 1 7.462 7 1 1'/></svg>") no-repeat center;
    background-size: contain;
}

.d-none {
    display: none !important;
}

/* Affiche le loader quand la modale est en état "loading" */
.rdvtrecobat-modal.loading .rdvtrecobat-loader {
    display: flex !important;
}

/* Empêche le scroll du body quand la modale est ouverte (optionnel) */
body.rdvtrecobat-modal-open {
    overflow: hidden;
}

/* Lien "bouton" tel */
a.rdvtrecobat-option {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    width: inherit;
}

a.rdvtrecobat-option:hover,
a.rdvtrecobat-option:focus {
    text-decoration: none !important;
}

.rdvtrecobat-modal-closing-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdvtrecobat-modal-closing-area-inner {
    background-color: #fff;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    gap: 10px;
    padding: 25px 60px;
    width: fit-content;
    border-radius: 20px;
}

.rdvtrecobat-modal-closing-area-inner .close-rdvtrecobat-finish {
    top: 5px;
    right: 10px;
    padding: 0;
}

.rdvtrecobat-modal-closing-area-inner .close-rdvtrecobat-finish svg {
    width: 20px;
}

.rdvtrecobat-modal-phone-input {
    max-width: 500px;
}

/* ===========================================
   RDVTRECOBAT — Fallback Gravity Forms (v1)
   Ultra-stylé, responsive, accessible
   Namespacé: .rdvtrecobat-fallback-form
   =========================================== */

.rdvtrecobat-fallback-form {
    --font: var(--rdvtrecobat-font, "Museo", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif);
    --primary: var(--rdvtrecobat-primary, #3C508F);
    --secondary: var(--rdvtrecobat-secondary, #00A19A);
    --ink: #101214;
    --muted: #6A6A6A;
    --border: #E6E7EB;
    --ring: color-mix(in oklab, var(--primary) 70%, #ffffff);
    --bg: #ffffff;
    --bg-soft: #FAFBFD;
    --error: #E53935;
    --ok: #2E7D32;
    font-family: var(--font);
    color: var(--ink);
}

/* ----- Card / Wrapper ----- */
.rdvtrecobat-fallback-form .gform_wrapper {
    position: relative;
    isolation: isolate;
}

/* header */
.rdvtrecobat-fallback-form .gform_heading {
    margin-bottom: 0;
}

.rdvtrecobat-fallback-form .gform_title {
    margin: 0 0 6px 0;
    font: 700 clamp(18px, 2vw, 22px)/1.1 var(--font);
    letter-spacing: .2px;
    color: var(--primary);
    display: none;
}

.rdvtrecobat-fallback-form .gform_description {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ----- Grid layout ----- */
.rdvtrecobat-fallback-form .gform_fields {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 870px;
}

.rdvtrecobat-fallback-form .gform_fields .gfield {
    flex: 0 0 calc(50% - 44px);
    max-width: calc(50% - 44px);
}

.rdvtrecobat-fallback-form .gform_fields .gfield--type-captcha {
    display: none;
}

/* Default each field spans full width; fine-tune with helpers */
.rdvtrecobat-fallback-form .gfield {
    grid-column: span 12;
}

/* Reflow "Nom / Prénom" en 2 colonnes sur ≥600px */
@media (min-width: 600px) {

    .rdvtrecobat-fallback-form .gform_fields .gfield {
        flex: 0 0 calc(100% - 44px);
        max-width: calc(100% - 44px);
    }

    .rdvtrecobat-fallback-form #field_4_2,
    .rdvtrecobat-fallback-form #field_4_3 {
        grid-column: span 6;
    }
}

/* Email / Tel pleine largeur: lisible + tooltips */
.rdvtrecobat-fallback-form #field_4_6,
.rdvtrecobat-fallback-form #field_4_22,
.rdvtrecobat-fallback-form #field_4_16,
.rdvtrecobat-fallback-form #field_4_7 {
    grid-column: span 6;
}

/* ----- Field block ----- */
.rdvtrecobat-fallback-form .gfield {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 12px 10px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.rdvtrecobat-fallback-form .gfield:focus-within {
    border-color: var(--ring);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--ring) 22%, transparent);
    background: #fff;
}

/* Labels */
.rdvtrecobat-fallback-form .gfield_label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font: 600 12px/1 var(--font);
    color: #334155;
    margin: 0 0 8px 2px;
}

.rdvtrecobat-fallback-form .gfield_required_asterisk {
    color: var(--secondary);
}

/* Inputs + Textareas */
.rdvtrecobat-fallback-form .ginput_container input[type="text"],
.rdvtrecobat-fallback-form .ginput_container input[type="email"],
.rdvtrecobat-fallback-form .ginput_container input[type="tel"],
.rdvtrecobat-fallback-form .ginput_container .gf-telephone,
.rdvtrecobat-fallback-form .ginput_container textarea {
    appearance: none;
    width: calc(100% - 28px);
    border: 1px solid transparent;
    background: #fff;
    border-radius: 10px;
    border-color: #000;
    padding: 12px 14px;
    font: 500 14px/1.35 var(--font);
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.rdvtrecobat-fallback-form .ginput_container textarea {
    min-height: auto;
    height: 28px;
    resize: vertical;
}

/* Focus ring */
.rdvtrecobat-fallback-form .ginput_container input:focus,
.rdvtrecobat-fallback-form .ginput_container textarea:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 25%, transparent);
}

/* Helper / descriptions sous label */
.rdvtrecobat-fallback-form .gfield_description {
    margin: 6px 2px 10px;
    font-size: 12px;
    color: var(--muted);
}

/* Tooltip (ton .wiaTooltip + icône FontAwesome) */
.rdvtrecobat-fallback-form .wiaTooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--primary) 12%, #EEF2FF);
    color: var(--primary);
    cursor: help;
    position: relative;
}

.rdvtrecobat-fallback-form .wiaTooltip:hover::after {
    content: attr(data-original-title);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: min(75vw, 320px);
    background: #1f2937;
    color: #fff;
    font: 500 12px/1.35 var(--font);
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .16);
    z-index: 5;
    white-space: normal;
}

/* Consent (case RGPD) */
.rdvtrecobat-fallback-form .gfield--type-consent {
    background: transparent;
    border: none;
    padding: 0;
}

.rdvtrecobat-fallback-form .ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 0;
}

.rdvtrecobat-fallback-form .ginput_container_consent input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid color-mix(in oklab, var(--primary) 40%, #93a3c3);
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all .2s ease;
    margin-top: 2px;
}

.rdvtrecobat-fallback-form .ginput_container_consent input[type="checkbox"]:checked {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--secondary) 24%, transparent);
}

.rdvtrecobat-fallback-form .ginput_container_consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 0deg at 50% 50%, #fff 0 25%, transparent 0 100%),
        linear-gradient(#fff, #fff);
    -webkit-mask:
        conic-gradient(from 0deg at 50% 60%, transparent 0 10%, #000 10% 35%, transparent 0 100%),
        linear-gradient(#000, #000);
    mask:
        conic-gradient(from 0deg at 50% 60%, transparent 0 10%, #000 10% 35%, transparent 0 100%),
        linear-gradient(#000, #000);
    transform: scale(.55);
}

/* Links inside consent */
.rdvtrecobat-fallback-form .gfield_consent_label a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rdvtrecobat-fallback-form .gfield_consent_label a:hover {
    color: var(--secondary);
}

/* Hidden fields group (visually hidden but accessible to screenreaders if needed) */
.rdvtrecobat-fallback-form .gfield.gform_hidden {
    display: none !important;
}

/* Telephone field specific */
.rdvtrecobat-fallback-form .gf-telephone {
    letter-spacing: .2px;
}

/* ----- Button / Footer ----- */
.rdvtrecobat-fallback-form .gform_footer {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rdvtrecobat-fallback-form .gform_button {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font: 700 15px/1 var(--font);
    color: #fff;
    background-color: var(--rdvtrecobat-primary);
    cursor: pointer;
}

.rdvtrecobat-fallback-form .gform_button:hover {
    filter: brightness(1.03) saturate(1.04);
}

.rdvtrecobat-fallback-form .gform_button:active {
    transform: translateY(1px);
}

/* ----- Validation / Errors ----- */
.rdvtrecobat-fallback-form .gform_validation_error .gform_title {
    color: var(--error);
}

.rdvtrecobat-fallback-form .gfield.gfield_error {
    border-color: color-mix(in oklab, var(--error) 35%, #ffd7d5);
    background:
        linear-gradient(0deg, color-mix(in oklab, #fff 90%, var(--error) 10%), color-mix(in oklab, #fff 90%, var(--error) 10%));
}

.rdvtrecobat-fallback-form .gfield.gfield_error .gfield_label {
    color: var(--error);
}

.rdvtrecobat-fallback-form .gfield.gfield_error .ginput_container input,
.rdvtrecobat-fallback-form .gfield.gfield_error .ginput_container textarea {
    border-color: color-mix(in oklab, var(--error) 35%, #ffd7d5);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--error) 18%, transparent);
}

.rdvtrecobat-fallback-form .validation_message,
.rdvtrecobat-fallback-form .gfield_description.validation_message {
    color: var(--error);
    font-weight: 600;
    font-size: 12px;
    margin-top: 8px;
}

/* Confirmation message */
.rdvtrecobat-fallback-form #gform_confirmation_wrapper_4,
.rdvtrecobat-fallback-form .gform_confirmation_message {
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(0deg, color-mix(in oklab, #fff 92%, var(--ok) 8%), #fff);
    border: 1px solid color-mix(in oklab, var(--ok) 22%, #cfe8cf);
    color: var(--ok);
    font: 600 14px/1.35 var(--font);
}

/* ----- Links in the form ----- */
.rdvtrecobat-fallback-form a {
    color: var(--primary);
    text-decoration: none;
}

.rdvtrecobat-fallback-form a:hover {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ----- Small niceties ----- */
/* Smooth placeholder contrast */
.rdvtrecobat-fallback-form ::placeholder {
    color: color-mix(in oklab, var(--muted) 65%, #cfd6df);
}

/* Subtle focus outline for clickable icons inside labels */
.rdvtrecobat-fallback-form .gfield_label .fa,
.rdvtrecobat-fallback-form .gfield_label [class^="fa-"],
.rdvtrecobat-fallback-form .gfield_label [class*=" fa-"] {
    outline: 0 solid transparent;
}

.rdvtrecobat-fallback-form .gfield_label .fa:focus-visible {
    outline: 2px solid var(--ring);
    border-radius: 4px;
}

/* Iframe ajax wrapper that GF injecte: garder les styles propres */
.rdvtrecobat-fallback-form #gform_ajax_frame_4 {
    display: none;
}

.rdvtrecobat-confirmation {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
}

.rdvtrecobat-confirmation-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.rdvtrecobat-confirmation h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.rdvtrecobat-confirmation p {
    margin: 5px 0;
    color: #666;
}

.rdvtrecobat-confirmation .small {
    font-size: 12px;
    opacity: 0.7;
}

.rdvtrecobat-finance-box {
    width: 100%;
    margin: 5px 0;
}

.rdvtrecobat-finance-box-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 8px;
    border-left: 4px solid var(--rdvtrecobat-primary);
    background: #f7f7f9;
    border-radius: 10px;
}

.rdvtrecobat-finance-box-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rdvtrecobat-finance-box-icon {
    font-size: 14px;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.rdvtrecobat-finance-box-content {
    flex: 1;
}

.rdvtrecobat-finance-box-content strong {
    display: block;
    font-size: 14px;
    color: var(--rdvtrecobat-secondary);
    margin-bottom: 4px;
}

.rdvtrecobat-finance-box-content p {
    margin: 0 0 12px;
    font-size: 10px;
    color: #6a6a6a;
    line-height: 1.4;
}

.rdvtrecobat-finance-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #3a3a3a;
    line-height: 1.4;
}

.rdvtrecobat-finance-check input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 1098px) {
    .rdvtrecobat-modal-right {
        min-width: auto;
        padding: 20px;
        width: 100%;
    }

    .rdvtrecobat-modal-left {
        max-width: 200px;
        width: 200px;
    }

    .rdvtrecobat-modal {
        padding: 20px;
    }

    .rdvtrecobat-icon.icon-back {
        top: 20px;
        left: 20px;
        padding: .5rem 1rem;
    }

    .rdvtrecobat-calendar-content {
        gap: 0px;
    }

    .rdvtrecobat-time-slots-content {
        max-width: 180px;
        width: 180px;
    }

    .rdvtrecobat-time-slots-content button {
        padding: 5px 10px;
        height: fit-content;
    }

    .rdvtrecobat-modal-left-content-commercial {
        flex-direction: column;
        align-items: flex-start;
    }

    .rdvtrecobat-modal-left-content-pending,
    .rdvtrecobat-modal-left-content-pending-bottom {
        padding: 15px;
    }

    .rdvtrecobat-modal-validate_budget h3 {
        font-size: 18px;
    }

    .rdvtrecobat-modal-validate_budget .btn {
        width: 135px;
    }
}

@media (max-width: 768px) {

    .rdvtrecobat-fallback-form #field_4_6,
    .rdvtrecobat-fallback-form #field_4_22,
    .rdvtrecobat-fallback-form #field_4_16,
    .rdvtrecobat-fallback-form #field_4_7 {
        grid-column: span 12;
    }

    .rdvtrecobat-modal {
        height: 100vh !important;
    }

    .rdvtrecobat-modal-inner {
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .rdvtrecobat-modal-left {
        min-width: 100%;
        border-right: none;
    }

    .rdvtrecobat-modal-left-content img {
        margin-bottom: 0;
    }

    .rdvtrecobat-modal-left-content {
        background-color: #fff;
        border-radius: 0;
    }

    .rdvtrecobat-modal-left .rdvtrecobat-icon.icon-back {
        top: 6px;
    }

    .rdvtrecobat-modal-left-content-pending h3 {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .rdvtrecobat-modal-left-content-steps {
        flex-direction: row;
        gap: 10px;
    }

    .rdvtrecobat-modal-left-content-step {
        flex-direction: column;
        flex: 0 0 calc(25% - 10px);
        max-width: calc(25% - 10px);
        align-items: center;
        justify-content: center;
        gap: 0px;
    }

    .rdvtrecobat-modal-right {
        align-items: flex-start;
        overflow-y: scroll;
        overflow-x: hidden;
        flex-wrap: wrap;
        padding: 0;
    }

    .rdvtrecobat-modal-right-content {
        padding: 0;
    }

    .back_to_site,
    .rdvtrecobat-agency,
    .rdvtrecobat-modal-right .close-rdvtrecobat,
    .rdvtrecobat-modal-right .rdvtrecobat-icon.icon-back,
    .rdvtrecobat-modal-left-content-pending h3 span,
    .rdvtrecobat-modal-left-content-commercial,
    .rdvtrecobat-modal-left-content-pending-bottom,
    .rdvtrecobat-modal-right-content-subtitle {
        display: none;
    }

    .rdvtrecobat-modal-left .close-rdvtrecobat,
    .rdvtrecobat-modal-left .rdvtrecobat-icon.icon-back,
    .rdvtrecobat-agency-mobile,
    .rdvtrecobat-modal-footer-mobile {
        display: block;
    }

    .rdvtrecobat-modal-left .rdvtrecobat-icon.icon-back {
        display: none;
    }

    .rdvtrecobat-modal-left-content {
        padding-bottom: 0;
    }

    .rdvtrecobat-step.step-3 .rdvtrecobat-modal-right-content h2 {
        text-align: center;
    }

    .rdvtrecobat-modal-right-content h2 {
        margin-bottom: 40px;
        color: var(--rdvtrecobat-primary);
    }

    .rdvtrecobat-agency-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 25px;
    }

    .rdvtrecobat-step-2-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 25px;
    }

    .rdvtrecobat-step-2-title h2 {
        color: #000;
        margin-bottom: 0;
    }

    .rdvtrecobat-step-2-title i {
        display: block;
        flex: 0 0 24px;
        height: fit-content;
        border: 1px solid #6A6A6A;
        padding: 8px;
        padding-bottom: 1px;
        border-radius: 50%;
    }

    .rdvtrecobat-calendar-content {
        flex-direction: column;
    }

    .rdvtrecobat-time-slots-content,
    .rdvtrecobat-calendar .flatpickr-rContainer,
    .rdvtrecobat-calendar .flatpickr-calendar.inline,
    .rdvtrecobat-calendar .flatpickr-weekdays {
        max-width: 100%;
        width: 100%;
    }

    .rdvtrecobat-time-slots-content {
        max-height: 100%;
        overflow: hidden;
        justify-content: flex-start;
    }

    .rdvtrecobat-time-slots-content button {
        flex: 0 0 calc(50% - 5px);
    }

    .rdvtrecobat-time-slots-content .rdvtrecobat-slot-wrapper {
        flex: 0 0 calc(50% - 5px);
    }

    .rdvtrecobat-modal-footer-mobile .rdvtrecobat-modal-left-content-pending-bottom {
        display: block;
        padding-bottom: 40px;
    }

    .rdvtrecobat-time-slots-content .rdvtrecobat-slot,
    .rdvtrecobat-time-slots-content .rdvtrecobat-slot-validate {
        padding: 16px 10px;
    }

    .rdvtrecobat-modal-footer-mobile .rdvtrecobat-modal-left-content-pending-bottom-text,
    .rdvtrecobat-modal-footer-mobile .rdvtrecobat-modal-left-content-pending-bottom-text-mobile {
        text-align: center;
    }

    .rdvtrecobat-modal-footer-mobile .rdvtrecobat-modal-left-content-pending-bottom-buttons,
    .rdvtrecobat-modal-footer-mobile .rdvtrecobat-modal-left-content-pending-bottom-buttons-mobile {
        margin: 0 auto;
    }

    .rdvtrecobat-step h2 {
        color: #000;
    }

    .rdvtrecobat-calendar .flatpickr-day {
        max-width: calc(14.28% - 8px);
        flex: 0 0 calc(14.28% - 8px);
        aspect-ratio: 1/1;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 4px;
    }

    .rdvtrecobat-calendar .flatpickr-days {
        width: 100%;
    }

    .rdvtrecobat-calendar .dayContainer {
        width: 100%;
        max-width: 100%;
    }

    .rdvtrecobat-calendar {
        margin-top: 10px;
    }

    .rdvtrecobat-modal-right-content {
        max-height: 100%;
        max-width: 100%;
    }

    .rdvtrecobat-modal-left-content-step i {
        width: 24px;
        height: 24px;
    }

    .rdvtrecobat-modal-left-content {
        padding: 10px;
    }

    .rdvtrecobat-calendar-content-dropdown {
        margin: 20px 0;
    }

    .rdvtrecobat-calendar-content-dropdown .rdvtrecobat-calendar-item {
        width: cacl(100% - 20px);
        border: 1px solid #979696;
        border-radius: 10px;
        padding: 12px 22px;
        margin-bottom: 10px;
        color: var(--rdvtrecobat-secondary);
    }

    .rdvtrecobat-calendar-content-dropdown .rdvtrecobat-calendar-item .rdvtrecobat-calendar-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .rdvtrecobat-calendar-content-dropdown .rdvtrecobat-calendar-slots {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
        border-top: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
        margin-top: 10px;
    }

    .rdvtrecobat-calendar-content-dropdown .rdvtrecobat-slot {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 8px;
        border: 1px solid #979696;
        background-color: var(--rdvtrecobat-secondary-25);
        color: var(--rdvtrecobat-secondary);
    }

    .rdvtrecobat-calendar-content-dropdown .rdvtrecobat-slot:hover,
    .rdvtrecobat-calendar-content-dropdown .rdvtrecobat-slot:focus {
        background-color: var(--rdvtrecobat-secondary);
        color: #fff;
        border: 1px solid var(--rdvtrecobat-secondary);
    }

    .rdvtrecobat-step-2-title .rdvtrecobat-icon.icon-calendar {
        cursor: pointer;
    }

    .rdvtrecobat-steps {
        width: 100%;
        padding: 10px;
    }

    .rdvtrecobat-step.step-2 .rdvtrecobat-modal-right-content {
        max-width: 100% !important;
        width: 100%;
    }

    .rdvtrecobat-time-slots {
        min-height: auto;
    }

    .rdvtrecobat-form-coordonnees button[type="submit"] {
        width: 100%;
    }

    .rdvtrecobat-modal-left-content-pending .rdvtrecobat-logo {
        margin-top: 20px;
    }

    .rdvtrecobat-modal-left-content-pending {
        background-color: #fff !important;
    }

    .rdvtrecobat-confirm h2 {
        color: var(--rdvtrecobat-primary);
        font-size: 20px;
    }

    .rdvtrecobat-modal-left-content-steps-finish .rdvtrecobat-modal-left-content-step {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        gap: 4px;
        flex: 1;
    }

    .rdvtrecobat-modal-left-content-steps-finish .rdvtrecobat-modal-left-content-step span {
        flex: 1;
    }

    .rdvtrecobat-modal-left-content-steps-finish .rdvtrecobat-modal-left-content-step .rdvtrecobat-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rdvtrecobat-confirm .rdvtrecobat-email-info {
        padding: 0 24px;
        font-size: 14px;
        line-height: 14px;
    }

    .rdvtrecobat-calendar-content-dropdown {
        display: block;
    }

    .rdvtrecobat-modal-right-content-pending-bottom {
        display: none;
    }

    .rdvtrecobat-modal-left-content-pending-bottom-mobile {
        border: none;
        margin-top: 60px;
        padding-bottom: 80px;
        margin-bottom: 60px;
    }

    .rdvtrecobat-modal-left-content-pending-bottom-button-mobile i svg {
        width: 100%;
        height: 100%;
    }

    .rdvtrecobat-modal-right-content {
        margin: 0 auto;
        padding: 0;
        display: block;
        position: relative;
    }

    .rdvtrecobat-modal-right {
        max-height: calc(100vh - 191px);
        height: calc(100vh - 191px);
    }

    .rdvtrecobat-modal-left-content-pending img,
    .rdvtrecobat-modal-left-content img {
        width: 110px !important;
        margin: 14px 0 4px !important;
    }

    /* Tous les champs de la modale */
    .rdvtrecobat-modal input[type="text"],
    .rdvtrecobat-modal input[type="email"],
    .rdvtrecobat-modal input[type="tel"],
    .rdvtrecobat-modal input[type="number"],
    .rdvtrecobat-modal select,
    .rdvtrecobat-modal textarea {
        font-size: 16px !important;
        line-height: 1.4;
    }

    /* Champs du fallback Gravity Forms (au cas où) */
    .rdvtrecobat-fallback-form .ginput_container input[type="text"],
    .rdvtrecobat-fallback-form .ginput_container input[type="email"],
    .rdvtrecobat-fallback-form .ginput_container input[type="tel"],
    .rdvtrecobat-fallback-form .ginput_container input[type="number"],
    .rdvtrecobat-fallback-form .ginput_container textarea {
        font-size: 16px !important;
        line-height: 1.4;
    }

    .rdvtrecobat-modal-right-content .rdvtrecobat-intro-choice h2 {
        font-size: 15px;
        text-align: center;
    }

    .rdvtrecobat-intro-select-type h2 {
        font-size: 15px;
        text-align: center;
    }

    .rdvtrecobat-modal-validate_budget {
        position: relative !important;
    }

    .rdvtrecobat-step.step-4 {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 640px) {

    .rdvtrecobat-modal-closing-area {
        padding: 20px;
        width: calc(100% - 40px);
    }

    .rdvtrecobat-modal-closing-area-inner {
        padding: 20px 50px 20px 30px;
    }

    .rdvtrecobat-modal-left-content-pending {
        padding-top: 0;
    }

    .close-rdvtrecobat {
        top: 6px;
    }

    .rdvtrecobat-icon.icon-back,
    .close-rdvtrecobat {
        padding: 16px 4px;
    }

    .rdvtrecobat-step-2-title .rdvtrecobat-icon.icon-calendar {
        height: 24px;
        padding: 8px;
    }

    .rdvtrecobat-option.rdvtrecobat-select-type,
    .rdvtrecobat-option.rdv-only,
    .rdvtrecobat-option.rdvtrecobat-agence-call {
        padding: 14px 10px;
    }

    .rdvtrecobat-tel-wrapper .rdvtrecobat-tel-text {
        max-width: 300px;
        margin: 30px auto 15px;
    }

    .rdvtrecobat-fallback-form .gform_wrapper {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .rdvtrecobat-fallback-form .gform_fields {
        gap: 12px;
    }

    .rdvtrecobat-fallback-form .gform_button {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .rdvtrecobat-modal {
        padding: 0;
    }

    .rdvtrecobat-form-coordonnees fieldset legend,
    .rdvtrecobat-form-callback fieldset legend {
        font-size: 14px;
        margin-left: 6px;
    }
}