﻿:root {
    --bleu-fonce: #066873 !important;
    --jaune: #F2B90C !important;
    --turquoise: #08A6A6 !important;
    --bleu-pale: #C4E1F2 !important;
    --bleu-modal: #e7f3ff !important;
    --sable: #ffe97d !important;
    --sable2: #ffec99 !important;
    --light-gray: #d9d8d8 !important;
    --light-gray2: #f3f3f3 !important;
    --noir: #000000 !important;
    --blanc: #FFFFFF !important;
    --red: #e94c43 !important;
    --red2: #ff6b6b !important;
    --green: #0fa85d !important;
    --green2: #1ad077 !important;
    --available: #dcffd3 !important;
    --unavailable: #e7e7e7 !important;
    --booked: #ffc5c5 !important;
}

.rm-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.rm-icon-lg {
    width: 1.25em;
    height: 1.25em;
}

.rm-icon-spin {
    animation: rm-icon-spin 1s linear infinite;
}

@keyframes rm-icon-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* --- GENERAL HTML --- */
html {
    position: relative;
    min-height: 100%;
    height: 100%;
    scroll-behavior: auto !important;
}

html, span, label, a, p {
    font-family: 'Inter', sans-serif;
    /*font-family: 'Inter', sans-serif;*/
    font-size: 17px;
    line-height: 24px;
}

p {
    margin-bottom: 0.3rem;
}

textarea {
    padding: 5px;
}

.separator {
    height: 2px;
    margin: 20px 0;
    background-color: #ccc;
}

header {
    display: flex;
    justify-content: center;
}

body {
    font-family: 'Inter', sans-serif;
    /*font-family: 'Inter', sans-serif;*/
    font-weight: 400;
    height: 100%;
    text-align: -webkit-center;
}

body.modal-open {
    overflow: hidden;
}

.body {
    padding-top: 65px;
    text-align: -webkit-center;
    min-height: calc(100% - 370px);
    background-color: white;
    position: relative;
    min-height: 100%;
    width: 100%;
}

#divGeneralPage {
    padding: 30px 15px;
    max-width: 1440px;
    place-self: center;
}

footer {
    display: flex;
    justify-content: center;
}

.datepicker {
    min-width: 124px;
    max-width: 124px;
}

.datepicker.small {
    min-width: 95px;
    max-width: 95px;
}

.picker__holder {
    max-width: 275px !important;
    width: 275px !important;
    overflow-x: hidden;
}

.picker__day {
    color: #000 !important; /* noir */
    font-weight: 400;
}

.picker__day--outfocus {
    color: #9b9999 !important;
}

.picker__day--disabled, .picker__day--disabled:hover, .picker--focused .picker__day--disabled {
    color: #ddd!important;
}

.picker {
    position: relative !important;
}

.picker__box {
    padding: 0 0.5em!important;
}

@media (max-width: 540px) {
    .picker__holder {
        /*        position: fixed !important;*/
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/*@media (max-width: 540px) {
    .picker__frame {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        transform: none !important;
    }
}*/

img .picture, div.picture {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

input[data-readonly="true"],
input[type="email"][data-readonly="true"],
input[type="password"][data-readonly="true"],
textarea[data-readonly="true"],
select[data-readonly="true"] {
    background-color: #eee !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

input[type="checkbox"][data-readonly="true"] {
    background-color: #bebebe !important;
}

select.selectpicker[data-readonly="true"] + .dropdown-toggle {
    background-color: #eee !important;
    color: #666 !important;
    cursor: not-allowed !important;
    border: 1px solid #ced4da !important;
    pointer-events: none !important;
    user-select: none !important;
    box-shadow: none !important;
    border-radius: 0px
}


fieldset:disabled .btn {
    pointer-events: none;
    opacity: var(--bs-btn-disabled-opacity);
}

.bg-light {
    background-color: var(--bleu-modal) !important;
}

h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: unset;
}

h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: unset;
}

/*"Playfair Display", serif;*/

.title1 {
    font-family: "Lora", serif;
    font-size: 38px;
    line-height: 42px;
}

.title2 {
    font-family: "Lora", serif;
    font-size: 35px;
    line-height: 40px;
}

.title3 {
    font-family: "Lora", serif;
    font-size: 32px;
    line-height: 38px;
}

.title4 {
    font-family: "Lora", serif;
    font-size: 29px;
    line-height: 32px;
}

.title5 {
    font-family: "Lora", serif;
    font-size: 26px;
    line-height: 30px;
}

.title6 {
    font-family: "Lora", serif;
    font-size: 24px;
    line-height: 27px;
}

.title7 {
    font-family: "Lora", serif;
    font-size: 22px;
    line-height: 24px;
}

.text1 {
    font-family: 'Inter', sans-serif;
    font-size: 14px !important;
    line-height: 19px !important;
}

.text2 {
    font-family: 'Inter', sans-serif;
    font-size: 15px !important;
    line-height: 20px !important;
}

.text3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px !important;
    line-height: 24px !important;
}

.text4 {
    font-family: 'Inter', sans-serif;
    font-size: 19px !important;
    line-height: 24px !important;
}

.text5 {
    font-family: 'Inter', sans-serif;
    font-size: 21px !important;
    line-height: 28px !important;
}

.text6 {
    font-family: 'Inter', sans-serif;
    font-size: 23px !important;
    line-height: 30px !important;
}

.text7 {
    font-size: 25px !important;
    line-height: 32px !important;
}

.text8 {
    font-size: 27px !important;
    line-height: 34px !important;
}

.text9 {
    font-size: 29px !important;
    line-height: 36px !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.2rem;
}

.ucase {
    letter-spacing: 2px;
    text-transform: uppercase;
}

.blanc {
    color: var(--blanc);
}

.noir {
    color: var(--noir) !important;
}

.sable {
    color: var(--sable) !important;
}

.jaune {
    color: var(--jaune) !important;
}

.bleu-fonce {
    color: var(--bleu-fonce);
}

.turquoise {
    color: var(--turquoise);
}

.bleu-pale {
    color: var(--bleu-pale);
}

.sable {
    color: var(--sable);
}

.red {
    color: var(--red);
}

.green {
    color: var(--green);
}

.link-underline {
    text-decoration-color: unset !important;
}

.highlight {
    font-weight: bold;
    color: var(--bleu-fonce);
}

.no-smooth-scroll {
    scroll-behavior: auto !important;
}

/* Scroll offset pour tous les liens d'ancrage du site */
:target {
    scroll-margin-top: 65px;
}

/*.main_div ul:not(.dropdown-menu) li {
    margin-bottom: 10px;
}*/

.menuMyRental ul li {
    margin-bottom: 0px !important;
}

#imgHomePage {
    background-image: url('/images/pictures/plage.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

#homePage {
    background-color: rgb(255 255 255 / 55%);
}


/*--- PLACEHOLDER ---*/
:: -webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #616466 !important;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder, .bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus, .bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
    color: #616466 !important;
}

.form-control::placeholder {
    font-style: italic;
    color: #999;
}

/*--- ICONE FAVORIS, ALERTE et BADGE VERIFIED ---*/

.favorite-button {
    width: 37px;
    height: 37px;
    border: none;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    right: 0;
    top: 0;
    margin-right: 8px;
    margin-top: 8px;
    z-index: 250;
    position: absolute;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

    .favorite-button:hover {
        background-color: #e2e6ea;
    }

.heart-icon {
    width: 27px;
    fill: #999;
    transition: fill 0.3s ease;
}

.favorite.select .heart-icon {
    fill: var(--red);
}

.alert-button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    right: 0;
    top: 0;
    margin-right: 48px;
    margin-top: 8px;
    z-index: 1000;
    position: absolute;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.bell-icon {
    width: 27px;
    color: #FFC107;
    transition: transform 0.2s ease;
}

.alert-button:hover {
    background-color: #e2e6ea;
}

.badge-green {
    display: inline-flex;
    align-items: center;
    padding: 10px 0px;
    background-color: var(--green);
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    letter-spacing: 0.8px;
    cursor: help;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    height: 34px;
    background-color: white;
    color: #FF6B35;
    font-size: 15px;
    font-weight: 700;
    padding: 0 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: default !important;
    pointer-events: none;
}

@media (min-width: 768px) {
    #divViewRentalPage .badge-new {
        height: auto;
        padding: 8px 20px;
        border-radius: 20px;
        letter-spacing: 0.8px;
        background-color: #FF6B35;
        color: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
}

.badge-green-rotate{
    position: absolute;
    top: 18px;
    left: -45px;
    background-color: #1b9240;
    color: white;
    font-weight: 400;
    padding: 2px 55px;
    transform: rotate(-35deg);
    z-index: 300;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    letter-spacing: 2px;
}

.verified-button {
    width: 35px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    left: 0;
    top: 0;
    margin-left: 8px;
    margin-top: 7px;
    z-index: 250;
    position: absolute;
}

.verified {
    width: 30px;
    height: 30px;
}

/*--- MODAL ---*/

.modal-footer {
    padding: 0.5rem;
    border-top: none;
    gap: 8px;
}

.modal-header {
    border-bottom: none;
    justify-content: center;
    align-items: flex-start;
}

.modal-body {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
}


.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-body {
    padding: 1.5rem;
}

/* Animation d'apparition */
.modal.fade .modal-dialog {
    transform: scale(0.95) translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Overlay backdrop */
.modal-backdrop.show {
    opacity: 0.6;
}

.modal-success .modal-header {
    background: linear-gradient(135deg, var(--green2) 0%, var(--green) 100%);
    color: var(--blanc);
}

.modal-error .modal-header {
    background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%);
    color: var(--blanc);
}

.modal-info .modal-header {
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--bleu-fonce) 100%);
    color: var(--blanc);
}

.modal-warning .modal-header {
    background: linear-gradient(135deg, var(--jaune) 0%, #e5a905 100%);
    color: var(--noir);
}

.modal-success .modal-header,
.modal-error .modal-header,
.modal-info .modal-header,
.modal-warning .modal-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-title-main {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
    flex: 1;
}

.modal-success .modal-title-main,
.modal-error .modal-title-main,
.modal-info .modal-title-main {
    color: var(--blanc);
}

.modal-warning .modal-title-main {
    color: var(--noir);
}

.modal-highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--turquoise);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.modal-highlight-box.success {
    background: linear-gradient(135deg, #e8f5f3 0%, #d4f4f0 100%);
    border-left-color: var(--green);
}

.modal-highlight-box.warning {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left-color: var(--jaune);
}

.modal-highlight-box.error {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    border-left-color: var(--red);
}

.modal-footer .btn {
    min-width: 120px;
}

.modal-footer .btn-full {
    width: 100%;
}

.modal-header .btn-close {
    background-size: 18px;
    opacity: 0.8;
    transition: all 0.2s ease;
    padding: 2px;
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-success .btn-close,
.modal-error .btn-close,
.modal-info .btn-close {
    filter: brightness(0) invert(1);
}

/* --- ANIMATIONS MODAL --- */
@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 50;
        stroke-dashoffset: 50;
        opacity: 0;
    }

    100% {
        stroke-dasharray: 50;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

@keyframes infoBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes warningPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes confirmBounce {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- RESPONSIVE MODAL --- */
@media (max-width: 576px) {
    .modal-content {
        margin: 0rem;
    }

    .modal-title-main {
        font-size: 23px;
    }

    .modal-footer {
        padding: 0.3rem;
        gap: 0px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.2rem 0.8rem 0.8rem;
    }

    .modal-footer .btn {
        width: 100%;
        min-width: unset;
    }

    .modal-info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}


/*--- LANGUE ET DEVISE ---*/

.currency-readonly .currency-option-message {
    cursor: default !important;
    pointer-events: none !important;
    opacity: .55;
    box-shadow: none !important;
    transform: none !important;
}

.currency-readonly .currency-option-message.active {
    opacity: 1 !important;
    border-color: var(--turquoise) !important;
    background: var(--bleu-modal) !important;
    box-shadow: 0 0 6px rgba(8,166,166,.35) !important;
}

.currency-readonly .currency-option-message::after {
    content: none !important;
}

.lang-option, .currency-option, .currency-option-message {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #c7c6c6;
    border-radius: 8px;
    padding: 0px;
    background-color: #fff;
    align-items: center;
}

.lang-option:hover, .currency-option:hover, .currency-option-message:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.lang-option.active, .currency-option.active, .currency-option-message.active {
    border-color: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.card.shadow-lg {
    box-shadow: none !important;
    background-color: var(--bleu-modal);
}

.flag-icon {
    width: 55px;
    height: auto;
    margin-top: 10px;
}

.lang-option .card-body, .currency-option .card-body, .currency-option-message .card-body {
    padding: 5px 0px !important;
}

.lang-option .card-body p, .currency-option .card-body p, .currency-option-message .card-body p {
    margin: 0px !important;
    padding: 6px !important;
    min-width: 90px;
}

@media (max-width: 768px) {
    .lang-option .card-body p, .currency-option .card-body p, .currency-option-message .card-body p {
        min-width: unset;
    }
}


/*--- OPTION DES DÉLAIS DANS LA RECHERCHE ---*/

.delay-option {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #c7c6c6;
    padding: 3px;
    align-items: center;
    border-radius: 12px;
    background-color: #f8f9fa;
}

    .delay-option:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .delay-option.active {
        border-color: var(--turquoise);
        background-color: var(--bleu-pale);
    }

    .delay-option .card-body {
        padding: 0px !important;
    }

        .delay-option .card-body p {
            margin: 0px !important;
            padding: 5px !important;
        }


/*--- SECTION ET PAGE ---*/

#homePage {
    padding: 10px 12px 10px 12px;
}

.sectionFormFull {
    color: var(--bleu-fonce);
    width: 100%;
    padding: 50px 12px 50px 12px;
    display: grid;
    place-items: center;
    justify-items: center;
}

.sectionFormFullChild {
    justify-self: center;
    place-self: center;
    text-align: center;
    width: 100%;
}

.sectionFormHomeSearch {
    background-color: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    place-self: center;
    padding: 12px 10px 12px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sectionForm {
    background-color: #fff;
    padding: 1.5rem 0.7rem;
}

.sectionFormSmall {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    padding: 1rem 0.7rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
    margin-bottom: 30px;
}

.sectionFormLarge {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem 0.7rem;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 1280px;
}


/*--- PHOTOS ---*/

/*.photo-item {
    padding: 5px;
}*/

#divPhotoViewRental {
    height: 350px;
}

.main-photo, .photo-item {
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.main-photo {
    height: 350px;
    flex: 1;
    min-width: 50%;
}

.secondary-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
    height: 350px;
    flex: 1;
    min-width: 50%;
}

.section_alert, .section-photo {
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-width: 1px;
    border-style: solid;
    border-color: #a0a0a0;
    border-radius: 7px;
}


/*--- CALENDRIER ---*/

#calendar {
    width: 100%;
    max-width: 540px;
    margin: auto;
}

#calendarViewRental {
    max-width: 400px;
}

#calendarViewRental .fc-daygrid-day, #calendarViewRental .fc-daygrid-day a {
    cursor: default !important;
}

#calendar .fc-multimonth-month {
    padding-top: 20px;
}

#calendar-container {
    justify-items: center;
}

#calendarCheckIn, #calendarCheckOut, #calendarCheckInModal, #calendarCheckOutModal {
    position: absolute;
    z-index: 1000;
    background-color: white;
    top: 190px;
    left: 0;
    padding: 10px;
    justify-self: anchor-center;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    width: auto;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid #4c4c4c;
    animation: fadeIn 0.3s ease-in-out;
}

#calendarCheckIn .fc-highlight, #calendarCheckOut .fc-highlight, #calendarCheckInModal .fc-highlight, #calendarCheckOutModal .fc-highlight {
    background: none !important;
}

.date-disabled .fc-highlight {
    background: #fd3838 !important;
}

.color-booked .fc-highlight {
    background: #fd3838 !important;
}

.fc .fc-highlight {
    background: #8aebff69;
}

.fc .fc-cell-shaded, .fc .fc-day-disabled {
    background-color: #fbfbfb;
    cursor: default;
}

.color-available {
    background-color: var(--available) !important;
}

.color-booked {
    background-color: var(--booked) !important;
}

.color-unavailable {
    background-color: var(--unavailable) !important;
}

.color-available-unavailable {
    background: linear-gradient(135deg, var(--available) 50%, var(--unavailable) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.color-unavailable-available {
    background: linear-gradient(135deg, var(--unavailable) 50%, var(--available) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.color-available-booked {
    background: linear-gradient(135deg, var(--available) 50%, var(--booked) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.color-booked-available {
    background: linear-gradient(135deg, var(--booked) 50%, var(--available) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.color-booked-unavailable {
    background: linear-gradient(135deg, var(--booked) 50%, var(--unavailable) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.color-unavailable-booked {
    background: linear-gradient(135deg, var(--unavailable) 50%, var(--booked) 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.fc .fc-daygrid-day-number {
    color: var(--noir);
    font-size: 17px;
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 0em;
}

.fc-daygrid-day {
    cursor: pointer;
}

.fc-day-selected-checkin, .fc-day-selected-checkout {
    background-color: #4caf50 !important;
}

.fc .fc-col-header-cell-cushion {
    padding: 10px 4px;
}

.fc .fc-scrollgrid {
    border-collapse: collapse;
}

.fc-toolbar-title {
    font-family: "Lora", serif !important;
    font-size: 27px !important;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin-bottom: 10px;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.5em;
    margin-right: 20px;
    margin-left: 20px;
}

#calendarPopup {
    display: none;
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    padding: 10px;
}


/*--- POPUP INFO ---*/

#imgPopupInfoModal {
    position: absolute;
    /*background: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 10%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 90) 100%), url(/images/hand-holding-device.jpg) lightgray -0px -0px / 0% 0% no-repeat;*/
    background-position-x: 30%;
    background-position-y: 50%;
    background-size: 140%;
}

#divPopupInfoImageModal {
    position: absolute;
    z-index: 100;
    height: 100%;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    align-content: end;
    padding-bottom: 20px;
}

/* --- ALERT PAGE --- */
#divAlert, #divRental {
    padding: 40px 10px;
}

.section_alert.active, .section-photo.active {
    background-color: var(--turquoise);
}

.section_alert.inactive, .section_alert.expired, .section-photo.inactive {
    background-color: var(--light-gray);
}

/* --- VIEW RENTAL --- */
#divViewRentalPage {
    max-width: 1280px;
    text-align: left;
}

/* --- TOP AND BOTTOM --- */
.navbar-top {
    background-color: var(--bleu-fonce);
    color: var(--blanc);
    width: 100%;
    position: fixed;
    z-index: 300;
    height: 65px;
    border-bottom: #018eaa;
    border-bottom-width: thin;
    border-bottom-style: solid;
}

.nav-bottom {
    width: 100%;
    z-index: 299;
    background-color: var(--bleu-pale);
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #d8d4d4;
}

.bottom-bottom {
    background-color: var(--bleu-fonce);
    color: var(--blanc);
    height: auto;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 10px 20px;
}

.bottom-menu {
    padding: 30px 20px 20px 20px;
    width: 100%;
}

.bandeau-titre {
    height: 100px;
    background-color: var(--blanc);
    align-content: center;
    text-align: center;
    padding: 0px 20px;
    margin-top: 30px;
}

.page-account {
    padding-top: 10px;
    padding-bottom: 20px;
    justify-content: center;
    padding-right: 15px;
    padding-left: 15px;
}

.menu-color {
    /*filter: invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(160%);*/
    filter: invert(74%) sepia(93%) saturate(839%) hue-rotate(353deg) brightness(101%) contrast(95%)
}

.icon.medium.menu-color {
    width: 29px;
    height: 29px;
}


/* --- NAVBAR ET MENU ---*/
.navbar ul a i {
    padding: 7px;
    margin-left: 5px;
    border-radius: 20px;
}

.menu-top .dropdown {
    cursor: pointer;
    position: static;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: lightgrey;
    color: var(--noir);
}

.menu-top .dropdown-item {
    justify-content: center;
}

.dropdown-item {
    display: inline-flex;
}

    .dropdown-item:focus, .dropdown-item:hover {
        background-color: var(--bleu-pale);
    }

.menuLi {
    border-bottom: 1px solid #e6e6e6;
}

/* Dans un dropdown-menu, on enlève la bordure sur le dernier .menuLi */
.dropdown-menu .menuLi:last-child {
    border-bottom: none;
}

/* Séparation de section dans le menu */
.dropdown-menu .menu-section-end {
    border-bottom: none !important;
}

.dropdown-menu .menu-section-info {
    background-color: #f5f5f5;
}

.dropdown-menu .menu-section-auth {
    background-color: #fdf8ec;
}

.dropdown-menu .menu-section-logout {
    background-color: #fff0f0;
}

.dropdown-menu .menu-section-logout button {
    width: 100%;
    text-align: center;
    background: transparent;
    border: none;
}

.nav-link.show {
    color: var(--blanc) !important;
}

.menu-top .dropdown-menu {
    top: 62px !important;
    width: 100vw;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: center;
}

.menu-top .dropdown-item {
    padding: 17px 10px;
}

.menuMyRental .dropdown-item {
    padding: 14px 16px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 0;
    color: #2c2c2c;
    transition: background-color 0.12s ease;
}

.menuMyRental .dropdown-item:hover {
    background-color: #e8f6f6;
    color: var(--bleu-fonce);
}

.dropdown-item-icon {
    width: 26px;
    display: inline-block;
    flex-shrink: 0;
    font-size: 15px;
}

.dropdown-item-delete {
    color: #c0392b !important;
    font-weight: 600;
    font-size: 17px;
}

.dropdown-item-delete:hover {
    background-color: #fdf0ef !important;
    color: #c0392b !important;
}

.menu-top .menuLi.menuAdmin {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: lightcyan;
}

.menu-top .nav-item {
    display: flex;
    padding-left: 10px;
    padding-right: 20px;
}

.menu-top ul {
    list-style-type: none;
    padding-inline-start: 0px;
}

.menuMyRental .dropdown-menu.show {
    border: 1px solid #dde8e9 !important;
    border-radius: 10px !important;
    padding: 0px 0;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    min-width: 240px;
}

/* --- SECTION AND FORM --- */
    .main_div {
    text-align: left;
    height: 100%;
    min-height: calc(100% - 370px);
    width: 100%;
    padding-bottom: 80px;
}

.row {
    --bs-gutter-x: 0;
}


/*--- GOOGLE MAP ---*/
#map {
    position: absolute;
    height: calc(100% - 65px);
    width: 100%;
    left: 0;
    z-index: 200;
}

.google-map {
    position: fixed;
    right: 0;
    height: 100vh;
    z-index: 1;
}

.google-map-view {
    position: relative;
    height: 350px;
    width: -webkit-fill-available;
}

.custom-marker {
    background-color: white;
    color: #222;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    position: absolute;
    transform: translate(-50%, -115%);
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
    border: 1.5px solid rgba(0,0,0,0.1);
    transition: transform 0.1s, box-shadow 0.1s;
}

.custom-marker:hover {
    transform: translate(-50%, -115%) scale(1.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.28);
    z-index: 9999;
}

.custom-marker .price-month {
    display: block;
    line-height: 1.2;
}

.custom-marker.hovered-marker {
    background: #d1e6ff;
    color: white;
    border-color: #011eff;
    z-index: 9999;
}

.cluster-marker {
    background-color: #222 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700;
    font-size: 14px;
    border: 2.5px solid white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35) !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 !important;
    transition: transform 0.1s, box-shadow 0.1s;
}

.cluster-marker:hover {
    transform: translate(-50%, -50%) scale(1.12) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}

.selected-marker {
    border: 2px solid #007bff !important;
    box-shadow: 0 0 8px #007bff;
    background: #eaf4ff;
    z-index: 9999;
}

.rental_result.selected-rental {
    border: 1px solid #f7c171;
    background: #fef7e1;
    box-shadow: 0 0 8px #f7c171;
}

/*#divPricePer {
    position: absolute;
    z-index: 1000;
    right: 10px;
    top: 70px;
    background: rgb(30 30 30 / 65%);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    color: #fff;
}
*/
.gm-style-iw-chr {
    display: none;
}

.gm-style .gm-style-iw-c {
    padding: 0px;
    border-radius: 12px;
    outline: none !important;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

.gm-style .gm-style-iw-c:focus,
.gm-style .gm-style-iw-d:focus,
.gm-style-iw *:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Tooltip au-dessus de l'InfoWindow */
.tooltip {
    z-index: 99999 !important;
}

.gm-style .gm-style-iw-tc,
.gm-style .gm-style-iw-tc::after {
    display: none;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
}

.gm-style-iw .divInfoRentalResult {
    margin: 4px 5px 5px 7px;
    text-align: center;
}

.gm-style-iw .divInfoRentalResult > div {
    justify-content: center;
}

.gm-style-iw .divInfoPhotoRentalResult {
    height: 120px;
}

.gm-style-iw .carousel-control-prev,
.gm-style-iw .carousel-control-next {
    opacity: 0;
}

.gm-style-iw .rental_result {
    width: 240px;
    height: 100%;
    border: none;
    text-align: -webkit-center;
}

.gm-style-iw .rental_result_img {
    height: 150px;
}

.gm-style-iw .favorite-button {
    left: 5px;
    right: auto;
    top: 5px;
    width: 28px;
    height: 28px;
    margin: 0;
}

.gm-style-iw .heart-icon {
    width: 21px;
}

.gm-style-iw .imgMyRental {
    height: 150px;
}

.gm-style-iw .rentalName {
    display: none !important;
}

.gm-style-iw .emptySpace {
    height: 6px !important;
}

.emptySpace {
    height: 8px;
}

#fixed-infobox-container .imgMyRental {
    border-radius: 0px;
}

#divSearchRentalsResult.map .location {
    display: none;
}

#fixed-infobox-container .rental_result {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border: none;
}

/* Mobile infobox : coeur à gauche pour ne pas chevaucher le X */
#fixed-infobox-container .favorite-button {
    left: 8px;
    right: auto;
    top: 8px;
    margin: 0;
    width: 38px;
    height: 38px;
}

#fixed-infobox-container .carousel-control-prev-icon, #fixed-infobox-container .carousel-control-next-icon {
    width: 20px !important;
    height: 20px !important;
}

#fixed-infobox-container .carousel-control-prev, #fixed-infobox-container .carousel-control-next {
    width: 40px !important;
    height: 40px !important;
}


#fixed-infobox-container .heart-icon {
    width: 26px;
}

/* Mobile infobox : X plus grand et facile à toucher */
#fixed-infobox-container .close-info {
    width: 38px !important;
    height: 38px !important;
    padding: 7px !important;
    top: 8px !important;
    right: 8px !important;
}

/* Mobile : markers plus compacts */
@media (max-width: 575.98px) {
    .custom-marker {
        padding: 3px 7px;
        font-size: 12px;
    }
}


/*--- SKELETON LOADING ---*/

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}

.skeleton-img {
    height: 240px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    margin-bottom: 8px;
}

.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.large { height: 18px; }

/*--- NO RESULTS ---*/

.no-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
}

.no-results-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 320px;
    width: 100%;
}

.no-results-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
}

.no-results-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--bleu-fonce);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.no-results-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.skeleton-body {
    padding: 12px;
}

/*--- RÉSULTATS DES LOCATIONS ---*/

.full-width {
    width: 100% !important;
}

.divResultRental {
    width: 100%;
    z-index: auto;
    padding: 15px 15px;
    text-align: -webkit-center;
}

#divRentalsResult {
    width: 100%;
    position: relative;
}

@media (min-width: 576px) {
    #divRentalsResult {
        width: 50%;
    }

    #divGoogleMap {
        width: 50%;
    }

    .divResultRental {
        width: 100%;
    }

    #divRentalsResult.full-width .divResultRental {
        width: 50%;
    }
}

@media (min-width: 768px) {
    #divRentalsResult {
        width: 45%;
    }

    #divGoogleMap {
        width: 55%;
    }

    .divResultRental {
        width: 100%;
    }

    #divRentalsResult.full-width .divResultRental {
        width: 50%;
    }
}

@media (min-width: 992px) {
    #divRentalsResult {
        width: 55%;
    }

    #divGoogleMap {
        width: 45%;
    }

    .divResultRental {
        width: 50%;
    }

    #divRentalsResult.full-width .divResultRental {
        width: 33.3%;
    }
}

@media (min-width: 1280px) {
    #divRentalsResult {
        width: 55%;
    }

    #divGoogleMap {
        width: 45%;
    }

    .divResultRental {
        width: 50%;
    }

    #divRentalsResult.full-width .divResultRental {
        width: 25%;
    }
}

@media (min-width: 1400px) {
    #divRentalsResult {
        width: 45%;
    }

    #divGoogleMap {
        width: 55%;
    }

    .divResultRental {
        width: 50%;
    }

    #divRentalsResult.full-width .divResultRental {
        width: 25%;
    }
}

#divSearchRentalsResult.map {
    padding-top: 40vh;
}

#divSearchRentalsResult {
    padding: 0px;
}

.rental_result {
    background-color: white;
    color: var(--bleu-fonce);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 480px;
}

#divSearchRentalsResult.map .rental_result_img {
    margin-right: 10px;
    margin-left: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
}

.rental_result_img, .divInfoPhotoRentalResult {
    height: 240px;
    position: absolute;
    z-index: 0;
    width: 100%;
}

.reservation_result_img, .divInfoPhotoReservation {
    height: 240px;
    position: absolute;
    z-index: 0;
    width: 100%;
}

.imgViewRental {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    background-position: center;
    height: 240px;
    border-radius: 0px !important;
}

.imgMyRental {
    width: 100%;
    height: 100px;
    object-fit: contain;
    height: 240px;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.imgMyRentalDetail {
    width: 100%;
    height: 100px;
    object-fit: contain;
    height: 350px;
}

.imgMyReservation {
    width: 100%;
    height: 100px;
    object-fit: contain;
    height: 240px;
    border-radius: 12px;
}

.divInfoRentalResult {
    margin: 4px 10px 6px 10px;
    justify-items: center;
}

.hideMap {
    display: none !important;
}


/*--- CONTROL GENERAL ---*/

.form-control, .form-select {
    padding: 8px 8px;
    border-style: solid !important;
    border-color: var(--noir) !important;
    border-width: thin !important;
    border-radius: 4px;
    font-size: 17px;
}

.form-select {
    padding-right: 35px;
    width: auto;
}

.form-control.small, .form-select.small {
    padding: 3px 7px;
    border-style: solid !important;
    border-color: var(--noir) !important;
    border-width: thin !important;
    border-radius: 4px;
    font-size: 15px;
}

.form-control.icon, .form-select.icon {
    padding-left: 27px !important;
}

.form-control:disabled {
    background-color: var(--bs-secondary-bg) !important;
    opacity: 0.8;
}


/*--- GOOGLE ADDRESS ---*/

.pac-container {
    font-size: 12px !important;
}

.pac-item,
.pac-item span,
.pac-item .pac-matched {
    font-size: 12px !important;
    line-height: 1.8 !important;
}
.pac-item {
    padding: 10px 0px 10px 4px !important;
}

.pac-icon {
    margin-top: 0 !important;
    vertical-align: middle !important;
}

    /*--- CAROUSEL ---*/
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        background-color: white;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

.divInfoPhotoRentalResult:hover .carousel-control-prev, .divInfoPhotoReservation:hover .carousel-control-prev,
.divInfoPhotoRentalResult:hover .carousel-control-next, .divInfoPhotoReservation:hover .carousel-control-next {
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    filter: invert(1); /* rend l’icône visible dans fond blanc */
}

.carousel-control-next {
    margin-right: 7px;
}

.carousel-control-prev {
    margin-left: 7px;
}


/*--- TOOGLE SECTION ---*/

/*.section-toggle {
    cursor: pointer;
    position: relative;
    padding-right: 25px;
    transition: color 0.2s ease;
}

    .section-toggle:hover {
        color: var(--turquoise-foncé);*/ /* une teinte légèrement plus foncée */
/*}

    .section-toggle::after {
        content: "▼";
        position: absolute;
        right: 0;
        top: 2px;
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }*/

/* Ajout d'une classe pour quand c’est ouvert */
/*.section-toggle.open::after {
        transform: rotate(180deg);*/ /* Flèche vers le haut */
/*}

.toggle-content {
    display: none;
}*/


/*--- TOOLTIP ---*/

.tooltip .tooltip-inner {
    max-width: 340px !important;
    width: 340px !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 28px;
    z-index: 9999 !important;
    color: white !important;
}

.tooltip .tooltip-inner a {
    color: white !important;
}

.tooltip {
    z-index: 9999 !important;
}

.tooltip.tooltip-conversion .tooltip-inner {
    max-width: 240px !important;
    width: auto !important;
    padding: 10px 12px !important;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
    border: 1px solid #d7e6ea;
    box-shadow: 0 12px 28px rgba(6, 104, 115, 0.16);
    color: #17323b !important;
    text-align: left;
}

.tooltip.tooltip-conversion .tooltip-arrow::before {
    border-top-color: #d7e6ea !important;
}

.tooltip-conversion-list {
    display: grid;
    gap: 6px;
}

.tooltip-conversion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 170px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #eef8fa;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #17323b;
}

.tooltip-conversion-row:nth-child(odd) {
    background: #eef8fa;
}

.tooltip-conversion-row strong {
    color: var(--bleu-fonce);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.tooltip-small .tooltip-inner {
    max-width: 150px !important;
    width: 150px !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 28px;
    z-index: 9999 !important;
}

    .tooltip.show {
        opacity: 1 !important;
    }

/*--- TRUMBOWG ---*/

.trumbowyg-box {
    min-height: 100px !important;
}


/* --- ERROR VALIDATION --- */

.field-validation-error,
.field-validation-error span {
    font-weight: bold;
    font-size: 15px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border-style: solid !important;
    border-color: var(--red);
    border-width: 2px !important;
}

.validation-summary-errors {
    color: var(--red);
    font-weight: bold;
    margin-bottom: 20px;
}

.validation-summary-errors ul {
    margin-bottom: 0px !important;
}

.validation-summary-valid {
    display: none;
}
.text-danger {
    color: var(--red) !important;
}

.text-danger li {
    font-size: 16px;
    margin: 10px 10px 10px 10px;
    padding-left: 0px;
}

.text-danger ul {
    list-style-type: none;
    margin-bottom: 0px;
    border-width: 2px;
    border-style: solid;
    padding-left: 0px;
}


/* --- BOOTSTRAP SELECT --- */

.bootstrap-select .btn {
    background-color: inherit;
    border: 0;
    border-radius: 4px !important;
    height: 42px;
    padding-left: 10px;
    padding-right: 8px;
    width: fit-content;
    font-weight: 400;
    -webkit-border-radius: 4px;
    height: auto;
    box-shadow: none !important;
    transform: none !important;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: none;
}

.bootstrap-select {
    align-content: center;
    min-height: 38px !important;
}

    .bootstrap-select .dropdown-toggle .filter-option {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        line-height: 30px;
    }

    .bootstrap-select .dropdown-menu li a span.text {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        line-height: 26px;
        text-wrap-mode: wrap;
        text-align: center;
    }

    .bootstrap-select .dropdown-menu {
        max-height: 295px !important;
        min-height: auto !important;
        border: #696868;
        border-style: ridge;
        border-width: 1px;
    }

    .bootstrap-select .dropdown-menu .inner {
        max-height: 295px !important;
        min-height: auto !important;
        z-index: 100;
    }

.bootstrap-select .dropdown-item {
    padding: 8px 10px;
}

.bootstrap-select.disabled, .bootstrap-select > .disabled {
    pointer-events: none !important;
    background-color: var(--bs-secondary-bg) !important;
    opacity: 0.75;
}

select.form-control {
    background-color: var(--blanc);
    color: var(--noir);
    border: 0;
    border-radius: 10px;
    height: 42px;
    padding: 5px 40px;
    width: fit-content;
    font-weight: 600;
    -webkit-border-radius: 20px;
}

.bootstrap-select .btn:hover {
    border: none;
    border-radius: 4px;
    background-color: inherit;
}

.bootstrap-select .btn:active {
    border: none;
    border-radius: 4px;
    background-color: inherit;
}

.bootstrap-select .dropdown-toggle {
    white-space: initial !important;
}

.bootstrap-select .dropdown-menu {
    z-index: 200!important;
    padding: 0px;
}

button[data-id="profileNavMobile"] {
    background-color: var(--bleu-pale) !important;
}

button[data-id="profileNavMobile"] .filter-option {
    font-size: 18px !important;
}

/*--- CHECKBOX, RADIO AND SWITCH ---*/
.btn-check:checked + .btn, .btn.active, .btn:focus, :not(.btn-check) + .btn:active {
    color: unset;
}

.form-check-input:checked {
    background-color: var(--turquoise);
    border-color: var(--turquoise);
}

.form-check-input {
    background-color: unset;
    border-color: var(--turquoise);
    vertical-align: text-bottom;
    margin-top: 0px;
}

    .form-check-input:disabled {
        opacity: .70;
    }

    .form-check-input::before {
        content: attr(data-label);
        position: absolute;
        top: 7px;
        left: 10px;
        font-size: 12px;
        color: white;
        transition: all 0.3s ease;
    }

input[type='checkbox'] {
    width: 1.3em;
    height: 1.3em;
}

input[type='radio'] {
    width: 1.3em;
    height: 1.3em;
}

.form-switch {
    --bs-form-switch-width: 55px;
    padding-left: 0px;
}

    .form-switch input {
        height: 21px !important;
        width: 36px !important;
    }

    .form-switch .form-check-input {
        margin-left: 0px;
        margin-top: 1px;
    }

input[type="range"]::-webkit-slider-runnable-track {
    background: var(--bleu-fonce);
    height: 0.5rem;
}


/*--- SECTION CONVERSATION ---*/

.message-card, .reservation-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 12px !important;
}

.message-card:hover, .reservation-card:hover {
    background-color: #f6f6f6 !important;
}

.imgConversation, .imgReservation {
    min-width: 72px;
    min-height: 85px;
    max-width: 72px;
    max-height: 85px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/*.messaging-wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 65px);
}*/

#divSendMessage {
    padding: 5px 0px 15px 0px;
}

#conversationsContainer, #reservationsContainer {
    height: calc(100vh - 65px);
    border-right: 1px solid #ddd;
}

#divMessageList, #divReservationList {
    height: calc(100vh - 236px);
    overflow-y: auto;
}

#messagesContainer, #detailReservationContainer {
    height: calc(100vh - 65px);
    overflow-y: auto;
}

#detailReservationContainer {
    padding: 0px 8px;
}

#detailReservationContainer {
    padding: 0px 0px;
}

.status-option {
    padding: 15px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e6e6e6;
}

.message-item-container {
    min-height: 85px;
}

.back-button {
    display: block;
    position: fixed !important;
    margin-left: 5px;
    z-index: 100;
    top: 75px;
}

.back-button:hover {
    text-decoration: underline;
}

.custom-file-input {
    display: none;
}

/*--- WIDGET --- */

.lc_text-widget {
    margin-bottom: 70px!important;
    padding-bottom: 0px!important;
}

/*-- SECTION MESSAGE ---*/
.message-row {
    display: flex;
    margin: 8px 0px 20px 0px;
}

.message-row.admin {
    justify-content: center;
    justify-self: center;
}

.message-row.sent {
    justify-content: flex-end;
    margin-left: auto;
}

.message-row.received {
    justify-content: flex-start;
    margin-right: auto;
}

.message-bubble {
    background-color: #f1f0f0;
    padding: 14px 16px 6px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    overflow: hidden;
    min-width: 0;
}

.message-row.admin .message-bubble {
    background-color: #f5fbfb;
    border: 1px solid #ddf0f0;
    border-left: 4px solid var(--turquoise, #4a90a4);
    border-radius: 0 12px 12px 12px;
    max-width: 640px;
    width: 100%;
}

.message-row.msg-offer {
    width: 100%;
}

.message-row.msg-offer .message-bubble {
    width: 100%;
    max-width: 640px;
}

.message-row.sent .message-bubble {
    background-color: #e8f5e2; /* vert doux pour l’envoyé */
    border-bottom-right-radius: 0;
    max-width: 500px;
}

.message-row.received .message-bubble {
    background-color: #f5f5f5; /* blanc pour le reçu */
    border-bottom-left-radius: 0;
    max-width: 500px;
}

.message-date {
    display: block;
    color: #888;
    margin-top: 5px;
    text-align: right;
}

.icon-message {
    font-size: 24px;
    margin-right: 3px;
}

/* ============================================
   MESSAGES D'OFFRE - CSS MINIMAL
   ============================================ */

.offer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offer-title {
    font-weight: 700;
    font-size: 17px;
    color: var(--bleu-fonce);
}

.offer-details {
    margin: 12px 0;
}

.offer-detail-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px;
    padding: 5px 0;
}

.offer-detail-label {
    font-size: 15px;
    color: #666;
}

.offer-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--bleu-fonce);
    text-align: right;
    margin-left: auto;
}

.amount-highlight {
    color: var(--turquoise) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.offer-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .offer-actions .btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 15px;
    }

/* Deposit section — separated by a top border, no box */
.offer-deposit-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 2px solid rgba(0, 0, 0, 0.12);
}

.offer-deposit-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bleu-fonce);
    margin-bottom: 15px;
    margin-top: 8px;
}

.offer-deposit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-deposit-label {
    font-size: 14px;
    color: #666;
}

.offer-deposit-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--turquoise);
    text-align: right;
}

.offer-deposit-months {
    font-size: 13px;
    color: #5f6b76;
    margin-bottom: 8px;
    line-height: 18px;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .offer-actions {
        flex-direction: column;
    }

    .offer-detail-value {
        text-align: right;
    }
}

/* ============================================
   MESSAGES PAGE
   ============================================ */

.statusBadge {
    font-weight: 600;
}

.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50px;
    padding: 0 5px;
    line-height: 1;
    flex-shrink: 0;
}

.img-conversation-wrapper {
    flex-shrink: 0;
    margin-right: 10px;
    align-self: center;
}

.message-item-container {
    align-items: center;
}

#messagesContainer {
    display: none;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
}

#messagesContainer.active {
    display: flex !important;
}

#msgHeaderArea {
    flex-shrink: 0;
    padding: 6px 16px 0;
    background: #fff;
}

#conversation {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px;
    margin: 0 !important;
}

#divSendMessage {
    flex-shrink: 0;
    padding: 6px 10px 0px;
}

.btn-container-bottom {
    flex-shrink: 0;
}

#conversationHeader {
    border-bottom: 2px solid #cdcdcd;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.btn-back-round,
#backBtn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--bleu-fonce, #066873);
    padding: 0;
    transition: background 0.15s;
}

.btn-back-round { display: flex; }
.btn-back-round:hover,
#backBtn:hover { background: #f0f0f0; }

.sys-msg-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #efefef;
    font-weight: 700;
    color: var(--turquoise, #4a90a4);
    letter-spacing: 0.3px;
}

.msg-offer.offer-obsolete {
    opacity: 0.4;
}

.msg-translate-pill {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 11px;
    color: #bbb;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px dashed #c9c9c9;
}

.msg-translate-pill a {
    color: var(--turquoise, #4a90a4);
    text-decoration: none;
    font-weight: 100;
}

.msg-translate-pill a:hover { text-decoration: underline; }

#actionContextText {
    border-left: 5px solid var(--turquoise, #02AAAD);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #cceef0;
    color: #025f61;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(2,170,173,0.12);
}

#actionContextText .ctx-icon {
    font-style: normal;
    flex-shrink: 0;
    font-size: 1.1em;
    line-height: 1.4;
}

#actionContextText.ctx-action {
    background: #fdefc3;
    border-left-color: #e8a000;
    color: #5a3a00;
    box-shadow: 0 2px 8px rgba(232,160,0,0.12);
}

#actionContextText.ctx-info {
    background: #cceef0;
    border-left-color: #02AAAD;
    color: #025f61;
    box-shadow: 0 2px 8px rgba(2,170,173,0.12);
}

#actionContextText.ctx-success {
    background: #c8f0da;
    border-left-color: #2a9d5c;
    color: #145c31;
    box-shadow: 0 2px 8px rgba(42,157,92,0.12);
}

#actionContextText.ctx-cancel {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #6b1219;
    box-shadow: 0 2px 8px rgba(220,53,69,0.12);
}

@media (min-width: 769px) {
    #actionContextText {
        font-size: 17px;
        padding: 14px 20px;
    }
}

@media (max-width: 768px) {
    .statusBadge {
        font-weight: normal;
    }

    #backBtn {
        display: flex;
    }

    #actionContextText {
        padding: 11px 12px;
    }
}

.status-option:hover {
    background: #f0fafa;
}







/* --- BOOTSTRAP INPUT AUTOCOMPLETE --- */

.ui-autocomplete {
    z-index: 1000 !important;
    text-align: left;
    background-color: #ffffff;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    color: var(--blanc);
    background-color: var(--noir);
    border-color: var(--noir);
}

.ui-widget.ui-widget-content {
    border: 1px solid #535353 !important;
    max-width: 90% !important;
}

.ui-menu-item-wrapper {
    padding: 8px 8px 8px 8px !important;
    border-bottom: 1px solid #e6e6e6;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-webkit-autofill::first-line {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    background-color: white !important;
    -webkit-text-fill-color: var(--noir) !important; /* ou 'black' si tu n’as pas --noir */
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 28px;
    font-weight: normal;
    transition: background-color 9999s ease-in-out 0s !important;
    caret-color: #000 !important; /* curseur noir */
    font-family: inherit !important; /* police cohérente */
}


/* --- BUTTON AND LINK --- */

a {
    text-decoration: none;
    color: var(--noir);
    font-weight: 600;
    cursor: pointer;
}

    a.line:hover {
        filter: brightness(1.2);
    }

    a.line {
        text-decoration: underline;
    }

.link-secondary {
    color: var(--noir);
    text-decoration: none;
}

.btn {
    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /* Dimensions */
    height: auto;
    min-height: 40px;
    padding: 12px 15px;
    width: fit-content;
    max-width: 100%;
    border-radius: 12px;
    /* Typography */
    font-weight: 700;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    text-transform: uppercase;
    /* Visual */
    border: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    /* Interaction */
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    /* Accessibility */
    /*position: relative;*/
    /*transform: translateY(0);*/
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    }

    .btn:focus-visible {
        outline: 2px solid rgba(75, 199, 202, 0.5);
        outline-offset: 2px;
    }

    .btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
    }

.btn-icon {
    font-size: 24px;
    line-height: 1;
}

.btn .bi {
    font-size: 17px;
    vertical-align: -0.15em;
}

.btn.two {
    width: 145px;
}

.btn.xsmall {
    padding: 5px 8px;
}

.btn.small {
    padding: 7px 12px;
}

.btn.short {
    padding-right: 7px;
    padding-left: 7px;
}

.btn.medium {
    padding-right: 10px;
    padding-left: 10px;
}

.btn.large {
    padding-right: 25px;
    padding-left: 25px;
}

.btn.xlarge {
    padding-right: 40px;
    padding-left: 40px;
}

.btn.icon {
    padding: 8px;
}

.btn.full {
    width: 100%;
}

.btn-container-bottom {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 10px;
    z-index: 299;
    text-align: center;
    margin-top: auto;
    background-color: #ffffff;
/*    border-top-style: solid;
    border-top-width: thin;
    border-top-color: #a1a1a1;
    background-color: #ebfffe;*/
}

.btn-container-bottom .btn {
    width: 100%;
    max-width: 100%;
}

.modal .btn-container-bottom {
    padding: 10px 0px !important;
}

@media (min-width: 768px) {
    .btn-container-bottom .btn {
        width: auto;
        min-width: 220px;
        max-width: 400px;
    }
}


.icon.bleu-fonce {
    filter: brightness(0) saturate(100%) invert(24%) sepia(54%) saturate(2576%) hue-rotate(157deg) brightness(95%) contrast(97%);
}

.icon {
    width: 26px;
    height: 26px;
}

.icon.small {
    width: 22px;
    height: 22px;
}

.icon.medium {
    width: 29px;
    height: 29px;
}

.icon.big {
    width: 32px;
    height: 32px;
}

.icon.huge {
    width: 40px;
    height: 40px;
}

.profil.nav-link {
    color: var(--bleu-fonce) !important;
}

.profil.nav-link.active {
    background: var(--turquoise) !important;
    color: var(--blanc) !important;
}

.profil.nav-link:hover {
    background: var(--bleu-pale);
    color: var(--bleu-fonce);
}

#profileNavDesktop .nav-item:not(:last-child) {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

/* BOUTON BLEU PRINCIPAL (Turquoise) */
.btn-turquoise {
    background: var(--turquoise) !important;
    color: var(--blanc) !important;
}

.btn-turquoise:hover {
    background: var(--turquoise);
    color: var(--blanc);
    filter: brightness(0.96);
}

/* BOUTON BLEU PALE (variante légère turquoise) */
.btn-bleu-pale {
    background: #e8f7f7 !important;
    color: var(--bleu-fonce) !important;
    border: 2px solid var(--turquoise) !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(8, 166, 166, 0.18);
}

    .btn-bleu-pale:hover {
        background: #d0eeee !important;
        color: var(--bleu-fonce) !important;
        filter: none;
        border: 2px solid var(--turquoise) !important;
    }

/* BOUTONS ACTION CARTE (Gérer calendrier / Voir réservations / Publier) */
.btn-action-card {
    background-color: var(--bleu-pale) !important;
    color: var(--bleu-fonce) !important;
    border: 1px solid rgba(8, 166, 166, 0.3) !important;
    border-left: 4px solid var(--turquoise) !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-align: left;
    padding: 7px 12px;
    height: 40px !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px !important;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-action-card:hover {
    filter: brightness(0.95);
    box-shadow: 0 2px 6px rgba(6, 104, 115, 0.18);
    color: var(--bleu-fonce) !important;
}

.btn-action-card--reservation {
    background-color: transparent !important;
    color: var(--green) !important;
    border: 2px solid var(--green) !important;
}

.btn-action-card--reservation:hover {
    background-color: rgba(15, 168, 93, 0.08) !important;
    color: var(--green) !important;
    filter: none;
    box-shadow: 0 2px 6px rgba(15, 168, 93, 0.2);
}

.btn-action-card--reservation .btn-action-card-icon {
    filter: invert(47%) sepia(72%) saturate(451%) hue-rotate(103deg) brightness(90%) contrast(92%);
}

.btn-action-card--publish {
    border-left-color: #8b5cf6 !important;
}

.btn-action-card-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(24%) sepia(54%) saturate(2576%) hue-rotate(157deg) brightness(95%) contrast(97%);
}

/* BOUTON BLEU_FONCE */
.btn-bleu-fonce {
    background-color: var(--bleu-fonce) !important;
    color: var(--sable);
    border: 1px solid #c4c4c4;
}

.btn-bleu-fonce:hover {
    background-color: var(--bleu-fonce) !important;
    color: var(--sable);
    filter: brightness(0.96);
}

/* BOUTON SABLE */
.btn-sable {
    background-color: var(--sable) !important;
    color: var(--bleu-fonce);
    border: 1px solid #c4c4c4;
}

    .btn-sable:hover {
        background-color: var(--sable) !important;
        color: var(--bleu-fonce);
        filter: brightness(0.96);
    }

/* BOUTON SABLE SELECT */
.btn-sable-select {
    background-color: var(--sable) !important;
    color: var(--bleu-fonce);
    border: 1px solid #c4c4c4 !important;
    border-radius: 12px !important;
}

.btn-sable-select:hover {
    background-color: var(--sable) !important;
    color: var(--bleu-fonce);
    filter: brightness(0.96);
}

/* BOUTON LIGHT GRAY */
.btn-light-gray {
    background-color: var(--light-gray) !important;
    color: var(--noir);
    border: 1px solid #c4c4c4;
}

.btn-light-gray:hover {
    background-color: var(--light-gray) !important;
    color: var(--noir);
    filter: brightness(0.96);
}

/* BOUTON LIGHT GRAY 2 */
.btn-light-gray2 {
    background-color: var(--light-gray2) !important;
    color: var(--noir);
    border: 1px solid #c4c4c4;
}

.btn-light-gray2:hover {
    background-color: var(--light-gray2) !important;
    color: var(--noir);
    filter: brightness(0.96);
}

/* BOUTON ROUGE */
.btn-red {
    background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%);
    color: var(--blanc);
}

    .btn-red:hover {
        background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%);
        color: var(--blanc);
        filter: brightness(0.96);
    }

/* BOUTON VERT */
.btn-green {
    background: linear-gradient(135deg, var(--green2) 0%, var(--green) 100%);
    color: var(--blanc);
}

    .btn-green:hover {
        background: linear-gradient(135deg, var(--green2) 0%, var(--green) 100%);
        color: var(--blanc);
        filter: brightness(0.96);
    }

/* Boutons d'action sur les cartes propriété (vue, message, modifier) */
.btn-card-action {
    background-color: var(--sable2) !important;
    color: var(--bleu-fonce) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px;
    font-weight: 600;
    font-size: 14px;
    padding: 5px 11px;
    line-height: 1;
    white-space: nowrap;
}

    .btn-card-action:hover {
        background-color: var(--sable) !important;
        color: var(--bleu-fonce) !important;
        filter: brightness(0.93);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
    }

.btn-card-action img {
    filter: brightness(0) saturate(100%) invert(24%) sepia(54%) saturate(2576%) hue-rotate(157deg) brightness(95%) contrast(97%);
}

/* Bouton action carte — version outline (secondaire) */
.btn-card-action-outline {
    background-color: transparent !important;
    color: var(--bleu-fonce) !important;
    border: 1.5px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 11px;
    line-height: 1;
    white-space: nowrap;
}

    .btn-card-action-outline:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
        color: var(--bleu-fonce) !important;
    }

.btn-outline-green {
    background: #edfaf3;
    color: var(--green);
    border: 2px solid var(--green) !important;
}

    .btn-outline-green:hover {
        background: rgba(15, 168, 93, 0.15);
        color: var(--green);
    }



/* TITRE PRINCIPAL WIZARD (Ajouter / Modifier) */
.wizard-page-title {
    text-align: center;
    padding: 24px 20px 0;
}

.wizard-page-title .title3 {
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.wizard-page-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--turquoise);
    border-radius: 2px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .wizard-page-title::after {
        display: none;
    }
}

/* HELPER / NOTE TEXT SOUS LES CHAMPS */
.field-note {
    color: #838181 !important;
    font-size: 13px;
    line-height: 1.4;
}

/* BOUTON AVAILABLE */
.btn-available {
    background-color: var(--available) !important;
    color: var(--noir);
    border: 1px solid var(--noir);
}

    .btn-available:hover {
        background-color: var(--available) !important;
        color: var(--noir);
        filter: brightness(0.96);
    }

/* BOUTON UNAVAILABLE */
.btn-unavailable {
    background-color: var(--unavailable) !important;
    color: var(--noir);
    border: 1px solid var(--noir);
}

    .btn-unavailable:hover {
        background-color: var(--unavailable) !important;
        color: var(--noir);
        filter: brightness(0.96);
    }

/* BOUTON DISABLED */
.btn-disabled,
.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Focus visible pour tous les boutons */
.btn-turquoise:focus-visible,
.btn-sable:focus-visible,
.btn-light-gray:focus-visible,
.btn-red:focus-visible,
.btn-green:focus-visible,
.btn-available:focus-visible,
.btn-unavailable:focus-visible {
    outline: 2px solid rgba(75, 199, 202, 0.6);
    outline-offset: 2px;
}


/* ÉTAT LOADING (optionnel - à ajouter au HTML avec classe .loading) */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

    .btn.loading::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin-left: -8px;
        margin-top: -8px;
        border: 2px solid currentColor;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 0.6s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .btn {
        font-size: 16px;
    }
}

.btn span {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding-right: 15px;
    padding-left: 15px;
}

.button-container-large {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding-right: 15px;
    padding-left: 15px;
}

.rounded-pill-menu {
    font-size: 15px;
    padding: 5px 5px 5px 5px;
    height: 22px;
    color: var(--blanc);
    margin-left: 15px;
    border-radius: 20px;
    margin-top: 5px;
    line-height: 11px;
    z-index: 1;
}

.rounded-pill-rental {
    position: absolute;
    font-size: 17px;
    padding: 8px;
    right: -20px;
    top: 7px;
    height: 25px;
    color: var(--blanc);
    border-radius: 20px;
    z-index: 1000;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: white;
    color: black;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0px;
}

    .btn-circle:hover {
        background-color: #f0f0f0;
    }

.value-display {
    width: 10px;
    text-align: center;
    margin: 0 20px 0px 15px;
}


/* --- MESSAGE D'ALERTE EN HAUT --- */

.alert-top.alert.alert-success, .alert-top.alert.alert-danger, .alert-success.alert-dismissible, .alert-danger.alert-dismissible {
    position: fixed !important;
    width: 100% !important;
    padding: 20px 28px 20px 8px !important;
    border-radius: 0 !important;
    border: none;
    z-index: 400;
    color: var(--noir);
    font-size: 22px;
}

.alert-success {
    --bs-alert-bg: var(--sable);
    padding: 10px 12px;
}

.alert-warning {
    padding: 10px 12px;
}

.alert-info {
    padding: 10px 12px;
}

.alert-dismissible .btn-close {
    top: -15px;
    right: -10px;
}

    /*--- MODAL RECHERCHE ---*/

    .filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 450px;
    width: 100vw;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    pointer-events: auto;
}

.filter-modal {
    background: white;
    width: 90%;
    max-width: 500px;
    height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.filter-overlay.show .filter-modal {
    transform: scale(1);
    opacity: 1;
    border-radius: 0px;
}

.divFilterCriteria {
    padding: 20px 20px 0px 20px;
}


/*-- RANGE ---*/

.range-container {
    position: relative;
    width: 100%;
    height: 30px; /* Ajustez la hauteur si nécessaire */
}

    .range-container input[type="range"] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        pointer-events: none; /* Empêche les interactions directes */
        -webkit-appearance: none;
        background: transparent;
    }

        .range-container input[type="range"]::-webkit-slider-runnable-track {
            height: 8px; /* Épaisseur de la barre */
            background: var(--turquoise); /* Couleur bleu pour la barre */
            border-radius: 4px; /* Arrondi de la barre */
        }

        .range-container input[type="range"]::-moz-range-track {
            height: 8px;
            background: var(--turquoise);
            border-radius: 4px;
        }

        .range-container input[type="range"]::-ms-track {
            height: 8px;
            background: var(--turquoise);
            border-radius: 4px;
            border: none;
            color: transparent;
        }

        .range-container input[type="range"]::-webkit-slider-thumb {
            pointer-events: all; /* Permet d'interagir avec les boutons */
            position: relative;
            z-index: 2;
            -webkit-appearance: none;
            width: 28px; /* Taille du bouton */
            height: 28px; /* Taille du bouton */
            background-color: var(--turquoise);
            border-radius: 50%; /* Forme circulaire */
            border: 4px solid white; /* Bordure blanche à l'intérieur */
            margin-top: -10px; /* Centre le bouton sur la barre */
            cursor: pointer;
        }

        .range-container input[type="range"]::-moz-range-thumb {
            pointer-events: all;
            width: 28px;
            height: 28px;
            background-color: var(--turquoise);
            border-radius: 50%;
            border: 4px solid white;
            cursor: pointer;
            margin-top: -10px; /* Centre le bouton sur la barre */
        }

        .range-container input[type="range"]::-ms-thumb {
            pointer-events: all;
            width: 28px;
            height: 28px;
            background-color: var(--turquoise);
            border-radius: 50%;
            border: 4px solid white;
            cursor: pointer;
            margin-top: -10px; /* Centre le bouton sur la barre */
        }


/* --- FILTRE SÉLECTIONNÉ --- */

.filter-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 8px 0px 8px;
    gap: 6px;
    margin-bottom: 3px;
    z-index: 280;
}

.filter-item {
    background-color: rgba(6, 104, 115, 0.08);
    border: 1px solid rgba(6, 104, 115, 0.28);
    border-radius: 50px;
    padding: 3px 5px 3px 8px;
    color: #066873;
    transition: background 0.18s ease;
    font-size: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

.filter-item:hover {
    background-color: rgba(6, 104, 115, 0.14);
}

.btn-clear-filter {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px;
    height: 18px;
    border-radius: 50% !important;
    background: rgba(6, 104, 115, 0.12) !important;
    color: #066873;
    transition: background 0.15s;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-clear-filter:hover {
    background: rgba(6, 104, 115, 0.28) !important;
}

/* Badge filtre sur bouton FILTROS */
#btnFilter {
    position: relative;
}

#filterBadge {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #066873;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}


/*--- CRITERIA BAR ---*/

#filterSelectedAndCriteriaBar {
    top: 65px;
    position: sticky;
    z-index: 280;
}

#criteriaBar {
    display: flex;
    max-width: inherit;
    justify-content: space-between;
    padding: 10px 13px 6px 13px;
    pointer-events: none;
}

.search-header {
    border-radius: 25px;
    width: 260px;
    right: 220px;
}

#btnFilter, #btnMap, #btnList {
    background-color: var(--sable) !important;
    color: var(--bleu-fonce);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: none;
    padding: 0px 15px !important;
    height: 42px;
    pointer-events: auto;
    border-radius: 25px;
    font-weight: 600;
}

    #btnFilter:hover, #btnMap:hover, #btnList:hover {
        background-color: var(--sable) !important;
        color: var(--bleu-fonce);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
        filter: brightness(0.95);
        transform: none;
    }

#orderByTop {
    background-color: var(--sable) !important;
    color: var(--bleu-fonce);
    border: 1px solid #a4a4a4;
    border-radius: 12px;
}

#divOrderTop .bootstrap-select .btn {
    padding: 6px 15px !important;
    border-radius: 12px !important;
    pointer-events: auto;
    width: 130px;
}

#btnFilter, #btnFilter:hover {
    float: left;
}

#criteriaBar .icon {
    width: 28px;
    height: 28px;
}


/*--- BOUTON FACEBOOK ET PARTAGE ---*/
.share-button {
    border: none;
    cursor: pointer;
    display: block;
}

.facebook-button {
    border-end-start-radius: 5px;
    border-end-end-radius: 5px;
    background-color: #3b5998;
    color: white;
    padding: 1px 6px;
}

#facebook-button-img {
    width: 42px;
}

.email-button {
    border-start-start-radius: 5px;
    border-start-end-radius: 5px;
    background-color: #a9a7a7;
    color: white;
    padding: 7px 11px;
}

.sms-button {
    background-color: #dddddd;
    color: white;
    padding: 5px 10px
}

.share-facebook, .share-messenger, .share-email {
    margin-bottom: 0px;
}


/* --- FICHE DES LOCATION AVEC LEUR STATUT  --- */

/* --- STATUT AVEC ACTION --- */
.rental-status-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    border-radius: 8px;
    margin-bottom: 5px;
    border-left: 4px solid;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-icon {
    font-size: 20px;
    padding-bottom: 2px;
}

.status-description {
    font-size: 13px;
    line-height: 1.3;
    color: #666;
    margin-top: 2px;
}

/* Couleurs par statut */
.status-active {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: var(--green);
}

.status-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left-color: #ffc107;
}

.status-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left-color: var(--red);
}

.btn-status-toggle {
    background: transparent;
    border: 1.5px solid #6c757d;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    color: #6c757d;
}

.btn-status-toggle:hover {
    background: #6c757d;
    color: white;
}

.btn-bank-configure:hover {
    background: #ffc107;
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .btn-status-toggle {
        width: 100%;
    }
}


/* --- BANIERE RECHERCHE --- */
.banner {
    background: linear-gradient(90deg, #ff6600, #ff3300);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px auto;
    max-width: 95%;
}


/* --- TABLEAU ADMIN --- */

.dataTables_scrollHead .colResultAdmin {
    background-color: #343a40;
    color: white;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 2px 4px!important;
}



/* --- GESTION MOBILE TABLETTE ET ORDI --- */
.hideOnMobile, .hideOnMobileGrid, .hideOnMobileFlex {
    display: none !important;
}

.showOnMobile {
    display: block;
}

.menushowOnMobile {
    display: inline-block;
}

.hideOnMobileAndTablet {
    display: none !important;
}


/*--- LOADER ---*/

#overlay-loader {
    position: fixed;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9100;
}

#loader {
    width: 120px;
    height: 120px;
    border: 16px solid #9beec4;
    border-radius: 50%;
    border-top: 16px solid #01ba53;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 1100;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade_body {
    opacity: 0.5;
}

/* --- STRIPE --- */
#card-element {
    background: white;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 7px;
}

/* --- HOW IT WORKS --- */
.gridHowItWorks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0 auto; /* Centre la grille */
}

.gridHowItWorks .card, gridHowItWorks2 .card {
    background: #fff;
    color: var(--bleu-fonce);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gridHowItWorks2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    gap: 1.5rem;
    margin: 0 auto; /* Centre la grille */
}

#featuredSection {
    background: var(--bleu-pale);
    padding: 35px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    #featuredSection {
        padding: 30px 0px;
    }
}

#propertyOwnerSection {
    background-color: var(--blanc);
    padding: 30px 20px 60px;
    text-align: center;
}

.why-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-list-card {
    background: linear-gradient(135deg, var(--bleu-modal) 0%, var(--blanc) 100%);
    color: var(--bleu-fonce);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.why-list-icon {
    font-size: 45px;
    margin-bottom: 10px;
    margin-top: 10px;
    display: block;
}


/* --- TARIF, DEPOT ET PAIEMENT --- */

.fees table thead th {
    background-color: var(--bleu-pale);
    color: var(--bleu-fonce);
    font-weight: 600;
    border: none;
    padding: 13px 10px;
}

.fees td {
    padding: 10px 5px;
    color: var(--bleu-fonce);
}


/* --- TABLEAU COMPARAISON --- */
.clickable-row td[data-label="Caracteristiques"] {
    background-color: var(--turquoise) !important;
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 10px;
}

.detail-row {
    background-color: #f8f9fa;
    font-size: 14px;
    text-align: left;
}

    .detail-row td {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

.concurrent-table {
    width: 100%;
    border-collapse: collapse;
}

.concurrent-table th, .concurrent-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.concurrent-table th {
    background-color: #343a40;
    color: white;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Changer la couleur de fond des lignes impaires */
.concurrent-table tbody tr:nth-child(odd) td {
    background-color: var(--blanc);
}

/* Changer la couleur de fond des lignes paires */
.concurrent-table tbody tr:nth-child(even) td {
    background-color: var(--bleu-pale);
}

.concurrent-table > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: unset;
    --bs-table-bg-type: unset;
}

.concurrent-table thead th {
    background-color: #343a40;
    color: #fff;
    text-align: center;
}

.concurrent-table tbody td {
    text-align: left;
    vertical-align: middle;
    font-family: "Inter-Regular", Helvetica;
    font-size: 15px;
    line-height: 22px;
}

.concurrent-table tbody td:first-child {
    font-size: 16px;
    line-height: 27px;
    padding: 12px;
    text-align: -webkit-center;
    align-content: center;
    min-height: 56px;
}

.concurrent-table tbody td:first-child span {
    font-size: 15px;
    line-height: 20px;
}

.concurrent-table tbody td:first-child img {
    position: absolute;
    right: 10px;
    border-radius: 50%;
    background-color: #e1ebe1;
    top: 10px;
    width: 33px;
}

.clickable-row td:first-child {
    font-weight: bold;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-color-state: unset;
    --bs-table-bg-state: unset;
}

/* --- FAQ --- */

.faq-language-tabs .btn {
    min-width: 110px;
}

.faq-section {
    margin-top: 1.5rem;
    border-top: 1px solid var(--bs-gray-200, #e9ecef);
    padding-top: 1rem;
}

.faq-section-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0d6efd;
}

.accordion {
    display: grid;
    gap: 0.5rem;
}

.accordion-item {
    border-radius: 0.375rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.accordion-toggle {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1rem;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(13,110,253,0.06), transparent);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.accordion-toggle:focus {
    outline: 3px solid rgba(13,110,253,0.2);
}

.accordion-toggle::after {
    content: '+';
    font-weight: 700;
}

.accordion-toggle[aria-expanded="true"]::after {
    content: '−';
}

.accordion-panel {
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    display: none;
    line-height: 1.5;
    background: #fafafa;
}

.accordion-panel p, .accordion-panel ul, .accordion-panel ol {
    margin: 0 0 0.5rem 0;
}

.accordion-panel ul {
    padding-left: 1.1rem;
}

.faq-content a {
    color: #0d6efd;
    text-decoration: none;
}

.faq-content a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {

    .faq-language-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .accordion-toggle {
        padding: 0.75rem;
    }

    .accordion-panel {
        padding: 0.75rem;
    }
}



/* --- VIEW RENTAL --- */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 5px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bleu-modal);
    border-radius: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--bleu-fonce);
}

.spec-label {
    font-size: 14px;
    color: #666;
}

.price-section {
    background: #fef1b7;
    padding: 10px 15px;
    border-radius: 12px;
    color: var(--bleu-fonce);
/*    max-width: 420px;*/
}

.price-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-fees {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.price-negotiable {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

    .price-negotiable::before {
        content: "💬";
        font-size: 18px;
    }

.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
}

input[type="date"], input[type="number"] {
    width: 100%;
    padding: 8px 10px 8px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 17px;
    transition: all 0.3s ease;
}

    input[type="date"]:focus, input[type="number"]:focus {
        outline: none;
        border-color: #2c7a7b;
        box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1);
    }

.info-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 20px;
}

    .info-text::before {
        content: "ℹ️";
        font-size: 16px;
        flex-shrink: 0;
    }

textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    min-height: 140px;
    resize: vertical;
    transition: all 0.3s ease;
}

    textarea:focus {
        outline: none;
        border-color: #2c7a7b;
        box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1);
    }

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

    .submit-btn:hover {
        background: #059669;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

.helper-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.optional-badge {
    background: #e0e7ff;
    color: #4338ca;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.video-rental {
    border-radius: 8px;
}

.video-play-icon {
    z-index: 10;
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
    }
}
    



/* --- POPUP INFO --- */

.custom-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.3rem;
    opacity: 1;
    border-radius: 50%;
    transition: 0.2s;
    background-size: 72%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23F5D008' viewBox='0 0 16 16'%3e%3cpath d='M2.146 2.854a.5.5 0 0 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 1 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-color: #048385;
}

    .custom-close:hover {
        opacity: 1;
        background-color: #047375;
    }

.custom-close:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width:576px) {
    .custom-close {
        top: 3px;
        right: 3px;
    }
}



@media (max-width: 768px) {

    .imgSendMessage:hover {
        transform: scale(1.08);
    }

    .clickable-row td[data-label="Caracteristiques"] {
        cursor: pointer;
    }

    .concurrent-table thead {
        display: none;
    }

    .concurrent-table, .concurrent-table tbody, .concurrent-table tr, .concurrent-table td {
        display: block;
        width: 100%;
    }

    .clickable-row {
        border-left-style: solid !important;
        border-left-width: 1px !important;
        border-left-color: #5d5d5d !important;
        border-right-style: solid !important;
        border-right-width: 1px !important;
        border-right-color: #5d5d5d !important;
    }

    .detail-row {
        border-left-style: solid !important;
        border-left-width: 1px !important;
        border-left-color: #5d5d5d !important;
        border-right-style: solid !important;
        border-right-width: 1px !important;
        border-right-color: #5d5d5d !important;
        border-bottom-style: solid !important;
        border-bottom-width: 1px !important;
        border-bottom-color: #5d5d5d !important;
    }

    .concurrent-table td {
        text-align: right;
        padding-left: 40%;
        position: relative;
    }

        .concurrent-table td::before {
            content: attr(data-label);
            position: absolute;
            left: 0;
            width: 40%;
            padding-left: 10px;
            font-weight: bold;
            text-align: left;
            align-content: center;
            font-size: 15px;
            line-height: 22px;
        }

    .concurrent-table tbody td:first-child {
        text-align: left;
        font-size: 18px;
        line-height: 24px;
    }

    .concurrent-table tbody td {
        font-size: 15px;
        line-height: 22px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .concurrent-table td:first-of-type::before {
        content: ""; /* Supprime le contenu pour le premier élément */
    }
}


/* Navigation rapide professionnelle */

.quick-nav-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    margin-top: 70px;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quick-nav-card {
    background: #ffffff;
    border: 2px solid var(--bleu-pale);
    border-radius: 18px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--bleu-fonce);
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

    .quick-nav-card:hover {
        transform: translateY(-4px);
        background: #f1fbff;
        border-color: var(--turquoise);
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
    }

.nav-card-icon {
    font-size: 32px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eef6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.quick-nav-card:hover .nav-card-icon {
    background: #d8f8f4;
    transform: scale(1.07);
}

.nav-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bleu-fonce);
}

/* Responsive */
@media (max-width: 768px) {
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .quick-nav-card {
        padding: 3px 10px;
    }

    .nav-card-icon {
        font-size: 36px;
        margin-top: 5px;
    }

    .nav-card-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .quick-nav-section {
        margin-top: 50px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}


/* Section : le dépôt de garantie protège le propriétaire contre */
.protection-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.protection-card-item {
    background: var(--bleu-modal);
    border-radius: 12px;
    padding: 10px 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.protection-card-icon {
    font-size: 40px;
}

.protection-card-item p {
    color: var(--bleu-fonce);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .protection-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* Section : Date change */

/* Remove browser focus outline on modal dialogs */
.modal:focus,
.modal-dialog:focus,
.modal-content:focus {
    outline: none !important;
}

.message-modal-shell {
    --bs-modal-width: 640px;
}

.message-modal-shell.message-modal-large {
    --bs-modal-width: 760px;
}

.message-modal-shell.message-modal-compact {
    --bs-modal-width: 560px;
}

.message-modal-card {
    border: none !important;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    outline: none !important;
}

/* Supprime l'outline focus navigateur sur tous les modals */
.modal,
.modal-dialog,
.modal-content,
.modal:focus,
.modal-dialog:focus,
.modal-content:focus,
.modal:focus-visible,
.modal-dialog:focus-visible {
    outline: 0 !important;
}

.message-modal-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
}

.message-modal-payment {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

.message-modal-body {
    padding: 22px 22px 18px;
}

.message-modal-card .modal-header .btn-close,
.date-change-renter-modal .modal-header .btn-close {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.14);
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.14);
}

.message-modal-card .modal-header .btn-close:hover,
.date-change-renter-modal .modal-header .btn-close:hover {
    background-color: rgba(255,255,255,0.22);
    transform: none;
}

.message-modal-card .modal-footer {
    padding: 8px 20px 20px;
    justify-content: center;
}

.message-modal-card .modal-footer .btn,
#payDepositModal .btn,
#payDepositSuccesModal .btn,
.date-change-renter-modal .btn {
    min-height: 46px;
    border-radius: 14px;
    letter-spacing: 0.3px;
}

#errorDescriptionModal .btn-turquoise,
#validBankAccountRequiredModal .btn-turquoise,
#payDepositSuccesModal .btn-turquoise,
.date-change-renter-close,
#payDepositModal .btn-green,
#acceptDealModal .btn-green,
#proposeDealModal .btn-green {
    box-shadow: 0 10px 24px rgba(8, 166, 166, 0.16);
}

/* Bouton secondaire (Annuler/Close) dans les modals — clairement visible */
#validBankAccountRequiredModal .btn-light-gray,
#confirmDeclineDealModal .btn-light-gray,
#confirmDeclineDealByLessorModal .btn-light-gray,
#payDepositModal .btn-red,
#acceptDealModal .btn-red,
#proposeDealModal .btn-red {
    background: #d6e6ec !important;
    color: #1c3a46 !important;
    border: 1.5px solid #94b8c6 !important;
    box-shadow: none !important;
}

#validBankAccountRequiredModal .btn-light-gray:hover,
#confirmDeclineDealModal .btn-light-gray:hover,
#confirmDeclineDealByLessorModal .btn-light-gray:hover,
#payDepositModal .btn-red:hover,
#acceptDealModal .btn-red:hover,
#proposeDealModal .btn-red:hover {
    background: #c4d9e2 !important;
    border-color: #7aa8b8 !important;
    color: #122d38 !important;
    filter: none;
}

#confirmDeclineDealModal .btn-red,
#confirmDeclineDealByLessorModal .btn-red {
    background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%) !important;
    color: var(--blanc) !important;
    border: none !important;
    box-shadow: 0 10px 22px rgba(233, 76, 67, 0.18) !important;
}

#confirmDeclineDealModal .btn-red:hover,
#confirmDeclineDealByLessorModal .btn-red:hover {
    background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%) !important;
    color: var(--blanc) !important;
    filter: brightness(0.97);
}

#errorDescriptionModal .modal-header,
#validBankAccountRequiredModal .modal-header,
#confirmDeclineDealModal .modal-header,
#confirmDeclineDealByLessorModal .modal-header,
#payDepositModal .modal-header {
    padding: 18px 12px 14px 20px;
}

#errorDescriptionModal .modal-title-main,
#validBankAccountRequiredModal .modal-title-main,
#confirmDeclineDealModal .modal-title-main,
#confirmDeclineDealByLessorModal .modal-title-main,
#payDepositModal .modal-title-main {
    line-height: 1.25;
}

#errorDescriptionModal .modal-body,
#validBankAccountRequiredModal .modal-body,
#confirmDeclineDealModal .modal-body,
#confirmDeclineDealByLessorModal .modal-body {
    padding-top: 10px;
}

.payment-legal-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.5;
}

.payment-legal-icon {
    font-size: 16px;
    color: #02AAAD;
    flex-shrink: 0;
    margin-top: 1px;
}

.payment-legal-text {
    color: #6c757d;
}

.payment-legal-accept {
    background: #f8f9fa;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    padding: 12px 14px;
}

.payment-legal-accept .form-check-input:checked {
    background-color: #02AAAD;
    border-color: #02AAAD;
}

.payment-legal-accept .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(2,170,173,0.25);
}

#submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#errorDescriptionModal .modal-highlight-box,
#validBankAccountRequiredModal .modal-highlight-box {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

#confirmDeclineDealModal .modal-body p,
#confirmDeclineDealByLessorModal .modal-body p {
    line-height: 1.5;
}

#proposeDealModal .modal-body,
#acceptDealModal .modal-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
}

#proposeDealModal .title3,
#acceptDealModal .title3 {
    font-size: 33px;
    line-height: 1.15;
    margin-bottom: 6px !important;
}

#proposeDealModal .title4,
#acceptDealModal .title4,
#proposeDealModal .title6,
#acceptDealModal .title6 {
    line-height: 1.25;
}

#proposeDealModal .title3::after,
#acceptDealModal .title3::after {
    content: '';
    display: block;
    width: 58px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--turquoise) 0%, var(--bleu-fonce) 100%);
}

#proposeDealModal .separator,
#acceptDealModal .separator {
    background: linear-gradient(90deg, rgba(8,166,166,0.05) 0%, rgba(8,166,166,0.28) 50%, rgba(8,166,166,0.05) 100%);
    height: 1px;
    margin: 22px 0;
}

#proposeDealModal .alert,
#acceptDealModal .alert,
#payDepositModal .alert {
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

#proposeDealModal .alert-warning,
#acceptDealModal .alert-warning,
#payDepositModal .alert-warning {
    background: linear-gradient(135deg, #fff8e8 0%, #fff2cf 100%);
    color: #6b5400;
}

#proposeDealModal .alert-info,
#acceptDealModal .alert-info,
#payDepositModal .alert-info {
    background: linear-gradient(135deg, #edf9fb 0%, #e5f5f7 100%);
    color: #245a67;
}

#proposeDealModal .currency-option-message,
#acceptDealModal .currency-option-message {
    border-radius: 14px;
}

#proposeDealModal .currency-option-message,
#proposeDealModal .currency-option-message:hover,
#acceptDealModal .currency-option-message,
#acceptDealModal .currency-option-message:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

#proposeDealModal .currency-option-message.active,
#acceptDealModal .currency-option-message.active {
    border-color: var(--turquoise) !important;
    box-shadow: 0 0 0 3px rgba(8, 166, 166, 0.10), 0 8px 22px rgba(6, 104, 115, 0.08) !important;
}

#proposeDealModal .row > [class*="col-"] .btn,
#acceptDealModal .row > [class*="col-"] .btn {
    width: 100%;
}

#proposeDealModal ul,
#acceptDealModal ul {
    margin-bottom: 0;
}

#proposeDealModal ul li,
#acceptDealModal ul li {
    line-height: 1.65;
    margin-bottom: 12px !important;
}

#proposeDealModal ul li:last-child,
#acceptDealModal ul li:last-child {
    margin-bottom: 0 !important;
}

#proposeDealModal #beforeProposingAgreement1 ul,
#proposeDealModal #beforeProposingAgreement2 .text3,
#acceptDealModal #beforeTransfertDepot ul,
#acceptDealModal #resumeAgreement .pt-3 {
    text-align: left;
}

#proposeDealModal #txtCheckIn,
#proposeDealModal #txtCheckOut,
#proposeDealModal #proposePrice {
    border-radius: 12px;
    border: 1px solid #d7e6ea !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

#proposeDealModal #txtCheckIn:focus,
#proposeDealModal #txtCheckOut:focus,
#proposeDealModal #proposePrice:focus {
    border-color: var(--turquoise) !important;
    box-shadow: 0 0 0 3px rgba(8, 166, 166, 0.10) !important;
}

#proposeDealModal #proposePriceTotal,
#acceptDealModal .currencyResume,
#acceptDealModal .securityDepositResume,
#acceptDealModal .serviceFeeResume,
#acceptDealModal .paymentFeeResume,
#acceptDealModal .totalAmountResume,
#payDepositModal .currencyResume,
#payDepositModal .securityDepositResume,
#payDepositModal .serviceFeeResume,
#payDepositModal .paymentFeeResume,
#payDepositModal .totalAmountResume {
    font-weight: 600;
}

#acceptDealModal #resumeAgreement .pt-3 {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    border: 1px solid #e5edf1;
    border-radius: 18px;
    padding: 18px 18px 16px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

#acceptDealModal #resumeAgreement .row.mb-3,
#acceptDealModal #resumeAgreement .row.mb-2,
#acceptDealModal #resumeAgreement .row.border-top {
    align-items: center;
}

#acceptDealModal #resumeAgreement .border-top {
    border-top: 1px solid #dfe8ec !important;
}

#payDepositModal .modal-content {
    border-radius: 22px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18) !important;
}

#payDepositModal .modal-header {
    padding: 18px 18px 10px;
}

#payDepositModal .modal-title-main {
    text-align: left;
}

#payDepositModal #resumeBeforePay > .mb-3 {
    box-shadow: 0 8px 24px rgba(6, 104, 115, 0.06) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

#payDepositModal #payment-form label {
    color: #28464e;
    letter-spacing: 0.1px;
}

#payDepositModal #card-number,
#payDepositModal #card-expiry,
#payDepositModal #card-cvc {
    border-radius: 10px !important;
    border: 1px solid #d8e4e8 !important;
    background: #ffffff !important;
}

#payDepositModal #TotalPayOrRefund {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

#payDepositModal #submit,
#payDepositModal #acceptRefund {
    box-shadow: 0 10px 24px rgba(15, 168, 93, 0.16);
}

#payDepositSuccesModal .modal-content {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

#payDepositSuccesModal .modal-body {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

#payDepositSuccesModal #btnViewReservation {
    min-height: 50px;
    box-shadow: 0 10px 24px rgba(8, 166, 166, 0.16);
}

#payDepositSuccesModal h5.text8 {
    font-weight: 800;
    line-height: 1.2;
}

#payDepositSuccesModal .text5 {
    line-height: 1.55;
}

#payDepositSuccesModal .btn-close {
    background-color: rgba(255,255,255,0.18);
}

.date-change-card {
    background: #f8f9fa;
    border-left: 4px solid var(--turquoise);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

    .date-change-card:hover {
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(8, 166, 166, 0.15);
        transform: translateY(-3px);
    }

.date-change-renter-modal-dialog {
    --bs-modal-width: 760px;
}

.date-change-renter-modal {
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.date-change-renter-header {
    padding: 20px 24px 18px;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--bleu-fonce) 100%);
    align-items: flex-start;
}

.date-change-renter-header-content {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 14px;
    flex: 1;
    text-align: left;
}

.date-change-renter-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.date-change-renter-eyebrow {
    color: rgba(255,255,255,0.88);
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
    text-transform: uppercase;
    line-height: 16px !important;
}

.date-change-renter-header .modal-title-main {
    text-align: left;
    color: #fff;
    line-height: 1.2;
    margin-top: 0;
}

.date-change-renter-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
}

.date-change-renter-body {
    padding: 22px 24px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
    text-align: left;
}

.date-change-renter-hero {
    position: relative;
    padding: 22px 22px 20px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f6fbfc 100%);
    border: 1px solid #deedf1;
    box-shadow: 0 10px 24px rgba(6, 104, 115, 0.07);
}

.date-change-renter-body-copy {
    color: #334b53;
    line-height: 1.75 !important;
    text-align: left !important;
}

.date-change-renter-body-copy * {
    text-align: left !important;
}

.date-change-step-list {
    display: grid;
    gap: 14px;
    text-align: left;
}

.date-change-step-item {
    padding: 16px 16px 14px;
    border: 1px solid #e1eaee;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    box-shadow: 0 4px 14px rgba(0,0,0,0.035);
}

.date-change-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0px;
}

.date-change-step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bleu-fonce);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(6, 104, 115, 0.2);
}

.date-change-step-title {
    color: var(--bleu-fonce);
    line-height: 1.35;
    font-weight: 800;
}

.date-change-step-body {
    padding-left: 46px;
    color: #41585f;
}

.date-change-step-body p {
    margin: 0 0 8px;
    line-height: 1.7;
}

.date-change-step-body p:last-child {
    margin-bottom: 0;
}

.date-change-step-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef7f9 0%, #e0f0f4 100%);
    border-left: 4px solid var(--turquoise);
    color: #1f3c44;
}

.date-change-step-note em {
    font-style: normal;
    color: #1f3c44;
}

.date-change-renter-body-copy b,
.date-change-renter-body-copy strong {
    color: #1f2f35;
    font-weight: 800;
}

.date-change-renter-body-copy a {
    color: var(--bleu-fonce);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.date-change-renter-body-copy br + br {
    content: '';
}

.date-change-renter-footer {
    padding: 4px 24px 22px;
    background: linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
    justify-content: center;
}

.date-change-renter-close {
    min-height: 46px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(8, 166, 166, 0.16);
    padding: 10px 26px;
    min-width: 170px !important;
}

#errorDescriptionModal .modal-content,
#validBankAccountRequiredModal .modal-content,
#confirmDeclineDealModal .modal-content,
#confirmDeclineDealByLessorModal .modal-content {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

/* --- Standard modal header: titres dans le header teal --- */
#errorDescriptionModal .date-change-renter-header .modal-title-main,
#validBankAccountRequiredModal .date-change-renter-header .modal-title-main,
#confirmDeclineDealModal .date-change-renter-header .modal-title-main,
#confirmDeclineDealByLessorModal .date-change-renter-header .modal-title-main,
#payDepositModal .date-change-renter-header .modal-title-main {
    font-size: 20px;
    line-height: 1.25;
    margin-top: 0;
    color: #fff;
    text-align: left;
}

/* Confirmation modals: highlight box warning dans le body */
#confirmDeclineDealModal .modal-highlight-box.warning,
#confirmDeclineDealByLessorModal .modal-highlight-box.warning {
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    min-height: 54px;
    display: flex;
    align-items: center;
}

#confirmDeclineDealModal .modal-highlight-box.warning p,
#confirmDeclineDealByLessorModal .modal-highlight-box.warning p {
    line-height: 1.55;
    color: #5a4100;
}

/* Footer buttons dans les confirmation modals */
#confirmDeclineDealModal .modal-footer,
#confirmDeclineDealByLessorModal .modal-footer {
    gap: 10px;
    padding: 8px 20px 20px;
    justify-content: stretch;
}

#confirmDeclineDealModal .modal-footer .btn,
#confirmDeclineDealByLessorModal .modal-footer .btn {
    flex: 1;
    min-height: 46px;
    border-radius: 14px;
}

/* proposeDealModal / acceptDealModal step-list spacing */
#proposeDealModal .date-change-step-list,
#acceptDealModal .date-change-step-list {
    margin-bottom: 0;
}

#proposeDealForm .date-change-step-number {
    margin-top: 1px;
    flex-shrink: 0;
}

/* Date inputs in proposeDealForm */
#proposeDealForm .datepicker {
    border-radius: 10px;
    border: 1.5px solid #d0dde2;
    background: #fff;
    cursor: pointer;
}

#proposeDealForm .datepicker:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(6, 104, 115, 0.1);
    outline: none;
}

/* Duration badge */
.propose-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(6, 104, 115, 0.1);
    color: var(--turquoise);
    border-radius: 20px;
    padding: 5px 16px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2px;
}

/* Price input row */
#proposeDealForm #proposePrice {
    font-weight: 600;
    max-width: 120px;
}

#proposeDealForm #proposePrice:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(6, 104, 115, 0.1);
    outline: none;
}

/* Total row */
.propose-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: #f0f8f9;
    border-radius: 10px;
    border: 1px solid #cce3e7;
    margin-top: 10px;
}

.propose-total-amount {
    font-weight: 700;
    color: var(--turquoise);
    font-size: 15px;
    white-space: nowrap;
}

/* Next steps section */
.propose-next-steps {
    background: var(--bleu-modal);
    border: 1px solid #e1eaee;
    border-radius: 14px;
    padding: 14px 10px;
}

.propose-next-steps-title {
    color: #1f2f35;
    letter-spacing: 0;
}

.propose-next-steps-list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.propose-next-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.propose-next-step-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--turquoise);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 767px) {

    .propose-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .propose-next-steps {
        padding: 12px 14px;
    }
}

/* Step cards: séparation titre/description style DateChangeModalRenter
   Les resource strings ont le format <strong>Titre:</strong> Description
   On force le <strong> en display:block → titre sur sa propre ligne, description en dessous */
#proposeDealModal #beforeProposingAgreement1 .date-change-step-header,
#acceptDealModal #beforeTransfertDepot .date-change-step-header {
    align-items: flex-start;
}

#proposeDealModal #beforeProposingAgreement1 .date-change-step-header strong,
#acceptDealModal #beforeTransfertDepot .date-change-step-header strong {
    display: block;
    color: #1f2f35;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 5px;
}


@media (max-width: 767px) {
    .message-modal-body {
        padding: 16px 16px 14px;
    }

    #proposeDealModal .title3,
    #acceptDealModal .title3 {
        font-size: 28px;
    }

    #proposeDealModal .title3::after,
    #acceptDealModal .title3::after {
        margin-top: 12px;
        width: 48px;
    }

    .date-change-card {
        padding: 20px;
    }

    .date-change-renter-header {
        padding: 18px 8px 16px 14px;
        align-items: center;
    }

    .date-change-renter-body {
        padding: 16px;
    }

    .date-change-renter-footer {
        padding: 0 16px 16px;
    }

    .date-change-renter-header-content {
        gap: 10px;
    }

    .date-change-renter-header .modal-title-main {
    }

    .date-change-renter-hero {
        padding: 16px;
        border-radius: 16px;
    }

    .date-change-renter-hero:has(.date-change-step-list) {
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
    }

    .date-change-step-item {
        padding: 24px 0px 0px;
        border: none;
        border-radius: 0;
        background: none;
        box-shadow: none;
        border-bottom: 1px solid #dde8ec;
    }

    .date-change-step-item:last-child {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .date-change-step-list {
        gap: 0;
    }

    .date-change-step-header {
        gap: 15px;
        margin-bottom: 8px;
    }

    .date-change-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .date-change-step-title {
    }

    .date-change-step-body {
        padding-left: 0;
    }

    /* X button on mobile for all standard modals */
    .date-change-renter-modal .modal-header .btn-close,
    .message-modal-card .modal-header .btn-close {
        width: 28px;
        height: 28px;
        padding: 6px;
        flex-shrink: 0;
        align-self: center;
    }

    /* Smaller title in compact modal teal headers */
    #errorDescriptionModal .modal-title-main,
    #validBankAccountRequiredModal .modal-title-main,
    #confirmDeclineDealModal .modal-title-main,
    #confirmDeclineDealByLessorModal .modal-title-main,
    #payDepositModal .modal-title-main {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .date-change-renter-modal .modal-header .btn-close,
    .message-modal-card .modal-header .btn-close {
        width: 28px;
        height: 28px;
        padding: 5px;
    }
}


/* Section : Refund policy */

.refund-policy-card {
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

    .refund-policy-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

.refund-accepted {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid #28a745;
}

.refund-denied {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 5px solid #dc3545;
}

.refund-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .refund-policy-card {
        padding: 20px;
    }

    .refund-icon {
        font-size: 40px;
    }
}


/* Section Useful links */

.useful-links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.useful-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--bleu-pale);
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: var(--bleu-fonce);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .useful-link-card:hover {
        transform: translateX(8px);
        border-color: var(--turquoise);
        box-shadow: 0 4px 16px rgba(8, 166, 166, 0.2);
        color: var(--bleu-fonce);
    }

.link-card-icon {
    font-size: 40px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bleu-pale);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.useful-link-card:hover .link-card-icon {
    background: var(--turquoise);
    transform: scale(1.1);
}

.link-card-content {
    flex: 1;
}

.link-card-title {
    font-family: "Lora", serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bleu-fonce);
}

.link-card-desc {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.link-card-arrow {
    font-size: 28px;
    color: var(--turquoise);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.useful-link-card:hover .link-card-arrow {
    transform: translateX(5px);
}

/* --- PAYMENT SECURITY --- */

.payment-security-page {
    width: 100%;
}

.payment-page-shell {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 0px 0px;
}

.payment-page-title {
    max-width: 980px;
    margin: 34px auto 26px;
}

.payment-page-subtitle {
    margin: 20px auto 0;
    max-width: 700px;
    font-size: 18px;
    line-height: 1.75;
    color: #61737a;
}

.payment-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 auto 40px;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(245,250,252,0.96) 100%);
    border: 1px solid #dbe8ee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.payment-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
    border: 1px solid #dfe9ee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.payment-nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 104, 115, 0.1);
    border-color: rgba(8, 166, 166, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, #eef8fa 100%);
    color: var(--bleu-fonce);
}

.payment-nav-link:focus-visible {
    outline: 2px solid rgba(8, 166, 166, 0.35);
    outline-offset: 2px;
}

.payment-nav-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 166, 166, 0.08);
    flex-shrink: 0;
}

.payment-nav-icon {
    font-size: 18px;
    line-height: 1;
}

.payment-nav-text {
    line-height: 1.2;
}

.payment-hero-card,
.payment-panel {
    background: #ffffff;
    border: 1px solid #dde9ee;
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.payment-hero-card,
.payment-panel {
    scroll-margin-top: 110px;
}

.payment-hero-card {
    background: linear-gradient(135deg, #f7fbfd 0%, #ebf5fa 100%);
    padding: 22px 26px 24px;
}

.payment-panel {
    padding: 32px 28px;
}

.payment-panel-soft {
    background: linear-gradient(135deg, #f3f9fc 0%, #e4f1f8 100%);
}

.payment-panel-alert {
    background: linear-gradient(135deg, #f8fcfd 0%, #ffffff 100%);
    border-color: #dce8ee;
}

.payment-hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.payment-hero-highlight {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 22px;
    border-radius: 20px;
    border: 1px solid rgba(8, 166, 166, 0.16);
    border-left: 4px solid var(--turquoise);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(6, 104, 115, 0.05);
    color: var(--bleu-fonce);
}

.payment-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.payment-trust-item {
    background: rgba(255,255,255,0.96);
    border: 1px solid #e3edf2;
    border-radius: 20px;
    padding: 20px 18px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.payment-trust-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.payment-trust-text {
    color: var(--bleu-fonce);
    font-weight: 700;
    line-height: 1.4;
    font-size: 16px;
    max-width: 220px;
    margin: 0 auto;
}

.payment-panel-heading {
    margin-bottom: 36px;
}

.payment-panel .row.g-4 {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.payment-panel-subtitle {
    margin: 8px auto 0;
    max-width: 760px;
    color: #5d7279;
    font-size: 17px;
}

.payment-card {
    background: #ffffff;
    border: 1px solid #e3edf2;
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.045);
    text-align: left;
}

.payment-card-title {
    margin-bottom: 20px;
    font-family: "Lora", serif;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--bleu-fonce);
}

.payment-card p {
    line-height: 1.65;
}

.payment-card p,
.payment-card li,
.payment-step-card p,
.payment-alert-card p,
.payment-summary-box,
.payment-refund-item span {
    color: #425b63;
}

.payment-protection-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}

.payment-card-compact {
    max-width: 520px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fbfdfe 0%, #f4f9fb 100%);
    border: 1px solid #e2edf2;
    box-shadow: none;
    align-self: start;
}

.payment-card-compact p:last-child {
    margin-bottom: 0;
}

.payment-refund-editorial {
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(252, 254, 255, 0.98) 0%, rgba(247, 251, 253, 0.98) 100%);
    border: 1px solid #e5eef2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

.payment-refund-intro {
    max-width: 860px;
    margin-bottom: 18px;
}

.payment-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.payment-step-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid #deebf0;
    border-radius: 22px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 5px 16px rgba(0,0,0,0.04);
}

.payment-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--bleu-fonce);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(6, 104, 115, 0.2);
}

.payment-summary-box {
    max-width: 860px;
    margin: 18px auto 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #dfeaf0;
    box-shadow: 0 5px 14px rgba(0,0,0,0.04);
}

.payment-refund-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
}

.payment-refund-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    box-shadow: none;
}

.payment-refund-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--bleu-fonce);
    font-size: 15px;
    line-height: 1.45;
}

.payment-refund-item span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

.payment-refund-item-ok {
    background: #f5fbf6;
    border-color: #ddebe0;
    border-left-color: #2fa55d;
}

.payment-refund-item-no {
    background: #fff7f7;
    border-color: #f1e1e1;
    border-left-color: #dc3545;
}

.payment-link {
    color: var(--bleu-fonce);
    font-weight: 700;
}

.payment-refund-note-text {
    max-width: 720px;
    padding-top: 12px;
    border-top: 1px solid #e1eaee;
    color: #657b82;
    font-size: 13px;
    line-height: 1.8;
}

.payment-refund-link-wrap {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #dbe5e9;
    display: flex;
    justify-content: flex-start;
}

.payment-refund-link-wrap .payment-link {
    font-size: 15px;
    font-weight: 600;
}

.payment-alert-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    border: 1px solid #dfeaf0;
    border-left: 4px solid var(--turquoise);
    border-radius: 24px;
    padding: 24px 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.035);
}

.payment-alert-card > .fw-bold {
    color: var(--bleu-fonce);
    font-size: 18px;
    line-height: 1.55;
}

.payment-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin-bottom: 18px;
}

.payment-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdfe 0%, #f7fbfd 100%);
    border: 1px solid #e1eaee;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.payment-check-item span:last-child {
    color: #35515a;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}

.payment-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e9f8ef 0%, #def4e6 100%);
    border: 1px solid #bfe4ca;
    color: #1f8a4c;
    line-height: 1;
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 0;
}

.payment-fraud-title {
    color: var(--bleu-fonce) !important;
}

.payment-panel-alert .payment-panel-subtitle {
    max-width: 820px;
}

.payment-panel-alert .payment-summary-box {
    max-width: 980px;
    margin-top: 6px;
    padding: 20px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    border-color: #dfeaf0;
    box-shadow: none;
    color: var(--bleu-fonce);
}

.payment-panel-alert .payment-summary-box strong {
    display: block;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .payment-nav,
    .payment-trust-grid,
    .payment-steps-grid,
    .payment-check-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .payment-page-shell {
        padding: 0 10px 0px;
    }

    .payment-page-subtitle {
        font-size: 17px;
        line-height: 1.65;
    }

    .payment-nav,
    .payment-trust-grid,
    .payment-steps-grid,
    .payment-check-grid,
    .payment-refund-stack {
        grid-template-columns: 1fr;
    }

    .payment-nav {
        padding: 8px;
        margin: 0 auto 28px;
    }

    .payment-nav-link {
        justify-content: flex-start;
        min-height: 50px;
    }

    .payment-hero-card {
        padding: 20px 16px;
    }

    .payment-panel {
        padding: 22px 16px;
    }

    .payment-card,
    .payment-alert-card,
    .payment-step-card,
    .payment-hero-highlight,
    .payment-summary-box {
        padding: 20px 18px;
    }

    .payment-refund-editorial {
        padding: 20px 18px;
    }

    .payment-card-compact {
        max-width: none;
        padding: 20px 18px;
    }

    .payment-trust-item {
        padding: 14px 14px;
    }

    .payment-trust-text {
        max-width: none;
    }

    .payment-trust-text {
        font-size: 15px;
    }

    .payment-card-title {
        font-size: 23px;
    }

    .payment-panel-heading {
        margin-bottom: 24px;
    }

    .payment-card-compact {
        max-width: none;
    }
}

@media (min-width: 992px) {
    .payment-protection-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .payment-panel .row.g-4 {
        align-items: stretch;
    }

    .payment-nav {
        position: sticky;
        top: 65px;
        z-index: 40;
        background: #f8f8f8;
        backdrop-filter: blur(10px);
        padding: 14px 0 16px;
        border-bottom: 1px solid rgba(221, 233, 238, 0.9);
    }

    .payment-hero-card,
    .payment-panel {
        margin-bottom: 28px !important;
    }
}

@media (max-width: 991px) {
    .payment-hero-card,
    .payment-panel {
        margin-bottom: 22px !important;
        scroll-margin-top: 88px;
    }
}

/* --- PAYMENT SECURITY --- */
.payment-security-page {
    margin: 0 auto;
}

.payment-section {
    background: var(--blanc);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.payment-section-soft {
    background: linear-gradient(135deg, #edf7fb 0%, #dceef8 100%);
}

.payment-section-alert {
    background: linear-gradient(135deg, #fff8f8 0%, #fffefe 100%);
}

.payment-hero {
    background: linear-gradient(135deg, #edf7fb 0%, #d7ebf7 100%);
}

.payment-section-inner {
    padding: 42px 32px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(6, 104, 115, 0.08);
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 15px;
}

.payment-lead {
    font-size: 24px;
    line-height: 1.7;
    color: #44646c;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.payment-subtitle {
    color: #58727a;
    font-size: 18px;
}

.payment-highlight {
    max-width: 760px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(8, 166, 166, 0.16);
    border-left: 5px solid var(--turquoise);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 8px 20px rgba(6, 104, 115, 0.08);
}

.payment-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5eef2;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    text-align: left;
}

.payment-card-title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--bleu-fonce);
    margin-bottom: 16px;
    font-family: "Lora", serif;
}

.payment-step {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(6, 104, 115, 0.1);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.payment-step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--bleu-fonce);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(6, 104, 115, 0.2);
}

.payment-summary {
    max-width: 860px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(6, 104, 115, 0.12);
    border-radius: 18px;
    padding: 22px 24px;
}

.payment-card-alert {
    border-left: 5px solid var(--red);
    background: linear-gradient(135deg, #ffffff 0%, #fff9f9 100%);
}

.payment-security-page .quick-nav-card {
    min-height: 150px;
    justify-content: center;
}

.payment-security-page .nav-card-title {
    line-height: 1.35;
}

@media (max-width: 768px) {
    .payment-section-inner {
        padding: 28px 18px;
    }

    .payment-lead {
        font-size: 20px;
        line-height: 1.55;
    }

    .payment-card,
    .payment-step,
    .payment-highlight,
    .payment-summary {
        padding: 20px 18px;
    }

    .payment-card-title {
        font-size: 24px;
    }

    .payment-security-page .quick-nav-card {
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .useful-link-card {
        padding: 20px;
        gap: 15px;
    }

    .link-card-icon {
        font-size: 32px;
        width: 50px;
        height: 50px;
    }

    .link-card-title {
        font-size: 18px;
    }

    .link-card-desc {
        font-size: 15px;
    }

    .link-card-arrow {
        display: none;
    }
}


@media (max-width: 576px) {

        /*--- MODAL RECHERCHE ---*/
        .filter-modal {
            width: 100%;
            height: 100%;
            border-radius: 0;
        }

        .divFilterCriteria {
            padding: 20px 10px 0px 10px;
        }
    }

    @media (min-width: 768px) {

        .body {
            padding-top: 65px;
        }

        html, span, label, a, p {
            font-size: 18px;
        }

        .title1 {
            font-size: 45px;
            line-height: 53px;
        }

        .title2 {
            font-size: 41px;
            line-height: 50px;
        }

        .title3 {
            font-size: 37px;
            line-height: 44px;
        }

        .title4 {
            font-size: 33px;
            line-height: 38px;
        }

        .title5 {
            font-size: 29px;
            line-height: 32px;
        }

        .title6 {
            font-size: 25px;
            line-height: 28px;
        }

        .title7 {
            font-size: 22px;
            line-height: 23px;
        }

        .title8 {
            font-size: 21px;
            line-height: 21px;
        }

        .text1 {
            font-size: 13px !important;
            line-height: 17px !important;
        }

        .text2 {
            font-size: 14px !important;
            line-height: 20px !important;
        }

        .text3 {
            font-size: 16px !important;
            line-height: 24px !important;
        }

        .text4 {
            font-size: 18px !important;
            line-height: 26px !important;
        }

        .text5 {
            font-size: 20px !important;
            line-height: 30px !important;
        }

        .text6 {
            font-size: 23px !important;
            line-height: 31px !important;
        }

        .text7 {
            font-size: 25px !important;
            line-height: 33px !important;
        }

        .text8 {
            font-size: 28px !important;
            line-height: 35px !important;
        }

        .text9 {
            font-size: 31px !important;
            line-height: 37px !important;
        }

        .ucase {
            letter-spacing: 2.7px;
            text-transform: uppercase;
        }


        /* --- TOP AND BOTTOM --- */

        .menu-icon:hover {
            transform: scale(1.08);
        }

        .HomeMenu:hover {
            transform: scale(1.03);
        }

        .bandeau-titre {
            height: 116px;
            padding: 0px 60px;
        }

        .page-account {
            padding-top: 30px;
            padding-bottom: 20px;
            justify-content: center;
            padding-right: 35px;
            padding-left: 20px;
        }


        /* --- BUTTON AND LINK --- */
        .btn.full {
            width: auto
        }

        .btn.short {
            padding: 0px 7px;
        }

        .rounded-pill-menu {
            margin-left: 30px;
        }


        /*--- CAROUSEL ---*/

        .carousel-control-prev,
        .carousel-control-next {
            opacity: 0;
        }

        /*--- ICONE FAVORIS, ALERTE et BADGE VERIFIED ---*/

        .badge-green {
            border-radius: 20px;
            padding: 8px 20px;
        }

        /*--- CALENDRIER ---*/

        #calendar {
            max-width: 1440px;
        }

        #calendarCheckIn, #calendarCheckOut, #calendarCheckInModal, #calendarCheckOutModal {
            top: 178px;
            width: 100%;
        }

        .fc .fc-daygrid-body-natural .fc-daygrid-day-events {
            margin-bottom: 15px;
        }


        /*--- MODAL --- */

        .modal-body {
            padding-left: 17px;
            padding-right: 17px;
        }


        /*--- MODAL RECHERCHE ---*/

        .filter-overlay.show .filter-modal {
            border-radius: 12px;
        }


        /*--- GOOGLE ADDRESS ---*/

        .pac-container {
            font-size: 15px !important;
        }

        .pac-item,
        .pac-item span,
        .pac-item .pac-matched {
            font-size: 15px !important;
        }


        /* --- BOOTSTRAP INPUT AUTOCOMPLETE --- */

        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0px 1000px white inset !important;
            box-shadow: 0 0 0px 1000px white inset !important;
            background-color: white !important;
            -webkit-text-fill-color: var(--noir) !important; /* ou 'black' si tu n’as pas --noir */
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            line-height: 28px;
            font-weight: normal;
            transition: background-color 9999s ease-in-out 0s !important;
            caret-color: #000 !important; /* curseur noir */
            font-family: inherit !important; /* police cohérente */
        }

        /* Ce bloc agit sur le conteneur généré par Stripe */
        .StripeElement--webkit-autofill {
            background-color: white !important;
            transition: background-color 9999s ease-in-out 0s !important;
        }

        .ui-menu-item-wrapper {
            padding: 10px 8px 10px 8px !important;
            border-bottom: 1px solid #e6e6e6;
        }

        /* --- BOOTSTRAP SELECT --- */

        .bootstrap-select .dropdown-toggle .filter-option {
            font-size: 16px;
            line-height: 30px;
        }

        .bootstrap-select .dropdown-menu li a span.text {
            font-size: 16px;
            line-height: 25px;
        }

        .bootstrap-select .dropdown-menu {
            max-height: 360px !important;
        }

            .bootstrap-select .dropdown-menu .inner {
                max-height: 300px !important;
            }

        .bootstrap-select .dropdown-item {
            padding: 8px 10px;
        }


        /*--- SECTION ET PAGE ---*/

        .sectionFormFull {
            padding: 50px 30px 50px 30px;
        }

        .sectionFormFullChild {
            max-width: 1024px;
        }

        .sectionFormHomeSearch {
            padding: 14px 17px 14px 17px;
            max-width: 800px;
        }

        #homePage {
            padding: 30px 30px 50px 30px;
        }

        .sectionForm {
            padding: 2rem 2.5rem;
            margin: 0px;
            border-radius: 8px;
            max-width: 650px;
            animation: fadeIn 0.5s ease-in-out;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        /* Wizard MyRentals — pas d'encadré externe, les cartes internes suffisent */
        #rentalForm .sectionForm {
            padding: 0 0.5rem;
            background-color: transparent;
            box-shadow: none;
            border-radius: 0;
        }

        .sectionFormSmall {
            padding: 1.5rem 2rem;
        }

        .sectionFormLarge {
            padding: 1.2rem 2.5rem 2.0rem;
        }


        /*--- RÉSULTATS DES LOCATIONS ---*/

        .divResultRental {
            padding: 15px 15px;
        }


        /* --- NAVBAR ET MENU ---*/

        .menu-top .dropdown-menu {
            top: 62px !important;
            width: 300px;
        }

        #menuBlankTop {
            width: 0%;
        }

        .menuMyRental .dropdown-item {
            font-size: 16px;
            padding: 14px 16px;
        }

        .bottom-menu {
            padding: 40px 10px 20px 10px;
        }

        .bootstrap-select > .dropdown-toggle {
            font-size: inherit;
            height: inherit;
        }

        .menuLi {
            border-top: none;
            border-top-style: none;
        }

        .icon.medium.menu-color {
            width: 32px;
            height: 32px;
        }


        /*--- GOOGLE MAP ---*/

        #map {
            height: calc(100% - 65px);
            width: 100%;
            z-index: 20;
        }

        .emptySpace {
            height: 15px;
        }

        /*    #divPricePer {
        top: 10px;
    }*/

        /*--- MODAL ---*/

        .large-modal {
            --bs-modal-width: 720px;
        }


        /* --- GESTION MOBILE TABLETTE ET ORDI --- */

        .hideOnMobile {
            display: inline-block !important;
        }

        .hideOnMobileGrid {
            display: grid !important;
        }

        .hideOnMobileFlex {
            display: flex !important;
        }

        .showOnMobile {
            display: none;
        }

        .hideOnComputer {
            display: none !important;
        }


        /*--- CRITERIA BAR ---*/

        #btnFilter, #btnMap, #btnList {
            padding: 0px 15px !important;
            height: 43px;
        }

        #divOrderTop .bootstrap-select .btn {
            padding: 6px 15px !important;
        }

        #criteriaBar {
            padding: 10px 15px 5px 15px;
        }

            #criteriaBar .icon {
                width: 28px;
                height: 28px;
            }

        /*--- PHOTOS ---*/

        #divPhotoViewRental {
            height: 480px;
        }

        .main-photo {
            height: 480px;
        }

        .secondary-photos {
            height: 480px;
        }


        /* --- FILTRE SÉLECTIONNÉ --- */

        .filter-container {
            padding: 0px 12px 0px 12px;
        }

        .filter-item {
            font-size: 14px !important;
            padding: 5px 8px 5px 11px;
        }


        /*--- BOUTON FACEBOOK ET PARTAGE ---*/

            .facebook-button {
            padding: 2px 2px;
        }

        #facebook-button-img {
            width: 38px;
        }

        .email-button {
            padding: 5px 5px;
        }

        .sms-button {
            padding: 4px 4px;
        }


        /* --- ALERT PAGE --- */

        #divAlert {
            padding: 40px 5px;
        }


        /*--- RÉSULTATS DES LOCATIONS ---*/

        #divRental {
            padding: 40px 25px;
        }

        .rental_result_img, .divInfoPhotoRentalResult {
            height: 240px;
        }

        .reservation_result_img, .divInfoPhotoReservation {
            height: 300px;
        }

        /* --- VIEW RENTAL --- */

        #divViewRentalPage {
            padding: 20px 25px 30px 25px;
        }

        .imgViewRental {
            height: 240px;
            border-radius: 8px !important;
        }

        .imgMyRental {
            height: 240px;
        }

        .imgMyReservation {
            height: 300px;
        }

        /*--- SECTION CONVERSATION ---*/

        .message-card, .reservation-card {
            padding: 6px 6px 6px 8px;
        }

        #messagesContainer, #detailReservationContainer {
            margin-top: 0px;
        }

        .messaging-wrapper {
            flex-direction: row;
        }

        .message-list {
            border-right: 1px solid #eee;
        }

        .message-card.selected {
            border: 2px solid var(--bleu-fonce) !important;
            background-color: var(--bleu-pale) !important;
        }

        .reservation-card.selected {
            border: 2px solid var(--bleu-fonce) !important;
            background-color: var(--bleu-pale) !important;
        }

        /*-- SECTION MESSAGE ---*/

        .message-row {
            max-width: 80%;
        }

        #divGeneralPage {
            padding: 30px 30px;
        }
    }

    @media (min-width: 992px) {

        #divGeneralPage {
            padding: 60px 120px;
        }


        /*--- SECTION ET PAGE ---*/

        .sectionFormFull {
            padding: 50px 30px 50px 30px;
        }

        .sectionFormFullChild {
            max-width: 1024px;
        }


        /* --- GESTION MOBILE TABLETTE ET ORDI --- */

        .menushowOnMobile {
            display: none;
        }

        .hideOnMobileAndTablet {
            display: flex !important;
        }

        .showOnMobileAndTablet {
            display: none !important;
        }

        /* --- NAVBAR ET MENU ---*/

        #menuBlankTop {
            width: 20%;
        }

        /* --- HOW IT WORKS --- */
        .gridHowItWorks {
            max-width: calc(3 * 380px + 2 * 1.5rem); /* ~1170px */
        }
    }

    @media (min-width: 1280px) {

        #divGeneralPage {
            padding: 60px 180px;
        }


        /* --- NAVBAR ET MENU ---*/

        #menuBlankTop {
            width: 30%;
        }


        /*--- CALENDRIER ---*/

        #calendarViewRental {
            max-width: 800px;
        }
    }

/* --- MOBILE FIXES --- */

@media (max-width: 768px) {

    /* imgFlexible - plus grand sur mobile pour faciliter le tap */
    .imgFlexible {
        width: 22px !important;
        height: 22px !important;
    }

    /* Zone de tap plus grande pour le tooltip "Flexible" */
    .noViewRental[data-bs-toggle="tooltip"] {
        padding: 6px;
        margin: -4px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

}

/* --- VIEW RENTAL AMÉLIORÉ --- */

/* Guide étapes contact */
.contact-steps {
    background: var(--bleu-modal);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.contact-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: var(--bleu-fonce);
}
.contact-step:last-child {
    margin-bottom: 0;
}
.contact-step-num {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--turquoise);
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Bouton mobile contact avec prix */
.btn-contact-mobile-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}
.btn-contact-mobile-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
}
.btn-contact-mobile-price {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.88;
    white-space: nowrap;
    border-left: 1px solid rgba(255,255,255,0.45);
    padding-left: 12px;
    line-height: 1.3;
    text-align: right;
}
.btn-contact-mobile-price strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

/* Spec items avec icônes */
.spec-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--bleu-fonce);
}

/* Badge négociable amélioré */
.badge-negotiable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e8f8f0, #d4f5e4);
    border: 1px solid #a8e6c5;
    border-radius: 20px;
    padding: 5px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

/* =====================================================
   cancelModalRenter — styles
   ===================================================== */

.cancel-days-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--bleu-fonce);
}

.cancel-days-row svg {
    flex-shrink: 0;
    color: var(--turquoise);
}

.cancel-days-value {
    color: var(--turquoise);
}

/* errorDescriptionModal */
.edm-icon-wrap {
    text-align: center;
    margin: 4px 0 18px;
}

.edm-icon {
    font-size: 42px;
    color: var(--turquoise);
}

.edm-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
}

.edm-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.edm-point i {
    color: var(--turquoise);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.edm-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eaf7f0;
    border-radius: 8px;
    padding: 12px 14px;
    color: #1a5c36;
}

.edm-note i {
    color: #28a745;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cancel-policy-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.cancel-policy-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.cancel-policy-refund {
    background: #eaf7f0;
    border-left: 4px solid #28a745;
    color: #1a5c36;
}

.cancel-policy-refund svg {
    color: #28a745;
}

.cancel-policy-norefund {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #78350f;
}

.cancel-policy-norefund svg {
    color: #f59e0b;
}

.cancel-refund-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.cancel-refund-label {
    color: #555;
    font-weight: 600;
}

.cancel-refund-amount {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.cancel-refund-value {
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.cancel-refund-value--positive {
    color: #1a7a4a;
}

.cancel-refund-value--zero {
    color: #c0392b;
}

.cancel-refund-card--positive {
    background: #eaf7f0;
    border-color: #b2ddc8;
}

.cancel-refund-currency {
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.cancel-breakdown {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.cancel-breakdown-row {
    padding: 9px 14px;
    border-bottom: 1px solid #e9ecef;
}

.cancel-breakdown-item {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}

.cancel-breakdown-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 8px;
}

.cancel-breakdown-col-paid,
.cancel-breakdown-col-refund {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cbc-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cancel-breakdown-col-paid .cbc-label { color: #888; }
.cancel-breakdown-col-paid .cbc-amount { font-size: 14px; color: #454343; }

.cancel-breakdown-col-refund .cbc-label { color: #888; }
.cancel-breakdown-col-refund .cbc-amount {
    font-size: 15px;
    font-weight: 700;
    color: #1a7a4a;
}

.cancel-breakdown--norefund .cancel-breakdown-col-refund .cbc-amount {
    color: #c0392b;
}

.cancel-breakdown-row:last-child {
    border-bottom: none;
}

.cancel-breakdown-total {
    background: #eef6f6;
    border-top: 2px solid #b2d8d8;
}

.cancel-breakdown-total .cancel-breakdown-item {
    font-weight: 700;
    font-size: 16px;
}

.cancel-breakdown-total .cbc-amount {
    font-size: 16px;
}

/* =====================================================
   proposeDealForm — Airbnb-style pf-* classes
   ===================================================== */

#proposeDealForm {
    padding: 0;
}

/* Section block */
.pf-section {
    padding: 20px 0 18px;
    border-bottom: 1px solid #ebebeb;
}

.pf-section--last {
    border-bottom: none;
    padding-bottom: 6px;
}

.pf-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Date row */
.pf-date-row {
    display: flex;
    align-items: stretch;
    border: 1px solid #b0b0b0;
    border-radius: 12px;
    overflow: hidden;
}

.pf-date-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.15s;
    min-width: 0;
}

.pf-date-field:focus-within {
    background: #f7f7f7;
}

.pf-field-label {
    font-size: 10px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.pf-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 500;
    color: #484848;
    padding: 0 !important;
    width: 100%;
    cursor: pointer;
}

.pf-input::placeholder {
    color: #b0b0b0;
    font-weight: 400;
}

.pf-date-divider {
    width: 1px;
    background: #b0b0b0;
    flex-shrink: 0;
    margin: 10px 0;
}

/* Duration badge */
.propose-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f0faf8;
    border: 1px solid #c2e8e0;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--turquoise);
}

.propose-duration-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Currency row */
.pf-currency-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pf-currency-btn {
    flex: 1;
    min-width: 70px;
    text-align: center;
    padding: 10px 8px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #484848;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
    background: #fff;
}

.pf-currency-btn:hover {
    border-color: #888;
    background: #fafafa;
}

.pf-currency-btn.active,
.pf-currency-btn.currency-active,
.currency-option-message.pf-currency-btn.active {
    border-color: var(--turquoise);
    background: #f0faf8;
    color: var(--turquoise);
}

/* Price input */
.pf-price-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #b0b0b0;
    border-radius: 12px;
    padding: 12px 16px;
    gap: 6px;
    transition: border-color 0.15s;
}

.pf-price-input-wrap:focus-within {
    border-color: var(--turquoise);
}

.pf-price-symbol {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    flex-shrink: 0;
    line-height: 1;
}

.pf-price-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    padding: 0 !important;
    min-width: 0;
    -moz-appearance: textfield;
}

.pf-price-input::-webkit-outer-spin-button,
.pf-price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pf-price-currency {
    font-size: 15px;
    font-weight: 600;
    color: #888;
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 3px;
}

/* Total row */
.pf-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ebebeb;
}

.pf-total-amount {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

/* Info section (next steps) */
.pf-info-section {
    padding: 16px 0 4px;
}

.pf-info-title {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.pf-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.pf-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pf-info-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--turquoise);
}

.pf-info-list li span {
    color: #555;
    line-height: 1.4;
}

/* Override old currency-option-message styles inside proposeDealForm */
#proposeDealForm .currency-option-message {
    border: 1.5px solid #ddd !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transform: none !important;
    background: #fff !important;
    transition: border-color 0.15s, background 0.15s, color 0.15s !important;
}

#proposeDealForm .currency-option-message:hover {
    border-color: #888 !important;
    background: #fafafa !important;
    box-shadow: none !important;
    transform: none !important;
}

#proposeDealForm .currency-option-message.active {
    border-color: var(--turquoise) !important;
    background: #f0faf8 !important;
    color: var(--turquoise) !important;
    box-shadow: none !important;
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .pf-section {
        padding: 16px 0 14px;
    }

    .pf-date-field {
        padding: 10px 12px;
    }

    .pf-price-input {
        font-size: 22px;
    }

    .pf-price-symbol {
        font-size: 19px;
    }

    .pf-currency-btn {
        padding: 9px 6px;
        font-size: 13px;
    }

    .pf-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* =====================================================
   pf-summary-card — résumé live de la proposition
   ===================================================== */

.pf-summary-card {
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--bleu-fonce) 100%);
    border-radius: 16px;
    padding: 18px 20px 16px;
    margin: 20px 0 8px;
    color: #fff;
}

.pf-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.pf-summary-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.75;
    white-space: nowrap;
}

.pf-summary-total {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pf-summary-currency {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.85;
}

.pf-summary-details {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.22);
}

.pf-summary-date {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.92;
}

.pf-summary-sep {
    opacity: 0.4;
    font-size: 16px;
}

.pf-summary-days-badge {
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 2px 10px;
    opacity: 0.9;
}

/* =====================================================
   pf-after-note — notes du bloc afterProposingAgreement
   ===================================================== */

.success-check-wrap {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #00c9a7, #00a699);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 166, 153, 0.30);
}

.pf-success-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 0 18px;
}

.pf-success-icon {
    font-size: 42px;
    line-height: 1;
}

.pf-success-title {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    margin: 0;
}

.pf-after-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 12px;
    padding: 13px 15px;
    margin-bottom: 12px;
}

.pf-after-note--info {
    background: #eaf7f5;
    border-left: 4px solid var(--turquoise);
    color: #1a4f54;
}

.pf-after-note--info svg {
    color: var(--turquoise);
    margin-top: 1px;
}

.pf-after-note--warn {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #7c5c10;
}

.pf-after-note--warn svg {
    color: #f59e0b;
    margin-top: 1px;
}

@media (max-width: 575px) {
    .pf-summary-total {
        font-size: 22px;
    }

    .pf-summary-card {
        padding: 14px 16px 12px;
    }
}

/* =====================================================
   #proposeDealModal — overrides premium ciblés
   ===================================================== */

/* Supprime la bordure focus (outline pointillé navigateur) */
#proposeDealModal,
#proposeDealModal:focus,
#proposeDealModal .modal-dialog,
#proposeDealModal .modal-content,
#proposeDealModal .modal-header {
    outline: none !important;
    box-shadow: none !important;
}

#proposeDealModal .message-modal-card {
    outline: none !important;
    border: none !important;
}

/* Section labels : pas en majuscules, doux */
#proposeDealModal .pf-section-label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
}

/* Sections : moins d'espace, plus aéré */
#proposeDealModal .pf-section {
    padding: 18px 0 16px;
    border-bottom: 1px solid #f0f0f0;
}

#proposeDealModal .pf-section--last {
    border-bottom: none;
    padding-bottom: 4px;
}

/* Dates : fond très léger, bordure douce */
#proposeDealModal .pf-date-row {
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

#proposeDealModal .pf-date-field {
    padding: 16px 20px;
    background: transparent;
}

#proposeDealModal .pf-field-label {
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

#proposeDealModal .pf-input {
    font-weight: 600;
    color: #111827;
}

#proposeDealModal .pf-date-divider {
    background: #e5e7eb;
    margin: 12px 0;
}

/* Badge durée : sobre */
#proposeDealModal .propose-duration-badge {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    color: #374151;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
}

#proposeDealModal .propose-duration-badge svg {
    color: var(--turquoise);
    width: 20px;
    height: 20px;
}

/* Devise : vrai segmented control premium */
#proposeDealModal #AmountAndCurrency {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
}

#proposeDealModal .pf-currency-row {
    gap: 3px;
    flex-wrap: nowrap;
}

#proposeDealModal .pf-currency-btn,
#proposeDealModal .currency-option-message.pf-currency-btn {
    background: transparent !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 10px 6px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: all 0.15s !important;
}

#proposeDealModal .pf-currency-btn:hover,
#proposeDealModal .currency-option-message.pf-currency-btn:hover {
    background: #e9eaec !important;
    color: #374151 !important;
    transform: none !important;
    box-shadow: none !important;
}

#proposeDealModal .pf-currency-btn.active,
#proposeDealModal .currency-option-message.active {
    background: #ffffff !important;
    border: none !important;
    color: var(--turquoise) !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10) !important;
    transform: none !important;
}

/* Prix : élégant */
#proposeDealModal .pf-price-input-wrap {
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
    padding: 18px 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#proposeDealModal .pf-price-input-wrap:focus-within {
    border-color: var(--turquoise);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8,166,166,0.10), 0 1px 4px rgba(0,0,0,0.04);
}

#proposeDealModal .pf-price-symbol {
    font-size: 22px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1;
}

/* Prix : taille explicite car text6 (23px) insuffisant pour saisie confortable */
#proposeDealModal .pf-price-input {
    font-size: 28px !important;
    font-weight: 700;
    color: #111827;
}

#proposeDealModal .pf-price-currency {
    font-size: 17px;
    font-weight: 600;
    color: #9ca3af;
    align-self: center;
    padding-bottom: 0;
}

/* Carte total : blanche, accent turquoise discret */
#proposeDealModal .pf-summary-card {
    background: #ffffff;
    border: 1.5px solid #e8e8e8;
    border-left: 4px solid var(--turquoise);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 16px 20px;
    color: #111827;
    margin: 18px 0 6px;
}

#proposeDealModal .pf-summary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

#proposeDealModal .pf-summary-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 1;
}

#proposeDealModal .pf-summary-total {
    font-size: 26px;
    font-weight: 800;
    color: var(--turquoise);
    line-height: 1.1;
}

#proposeDealModal .pf-summary-currency {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    opacity: 1;
}

#proposeDealModal .pf-summary-days-badge {
    font-size: 11px;
    font-weight: 700;
    background: #f0faf8;
    color: var(--turquoise);
    border-radius: 20px;
    padding: 3px 10px;
    opacity: 1;
}

/* Bloc info après envoi */
#proposeDealModal .pf-info-section {
    padding: 14px 0 2px;
}

#proposeDealModal .pf-info-title {
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

#proposeDealModal .pf-info-list {
    gap: 10px;
}

#proposeDealModal .pf-info-list li svg {
    color: var(--turquoise);
    opacity: 0.85;
}

#proposeDealModal .pf-info-list li span {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

/* After proposing : léger et raffiné */
#proposeDealModal .pf-after-note {
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    gap: 10px;
}

#proposeDealModal .pf-after-note--info {
    background: #f0faf8;
    border-left: 3px solid var(--turquoise);
    color: #1a4f54;
}

#proposeDealModal .pf-after-note--info svg {
    color: var(--turquoise);
}

#proposeDealModal .pf-after-note--warn {
    background: #fffbeb;
    border-left: 3px solid #f0b429;
    color: #7c5c10;
}

#proposeDealModal .pf-after-note--warn svg {
    color: #f0b429;
}

@media (max-width: 575px) {
    #proposeDealModal .pf-price-input {
        font-size: 24px;
    }

    #proposeDealModal .pf-summary-total {
        font-size: 22px;
    }

    #proposeDealModal .pf-summary-card {
        padding: 13px 15px;
    }
}

/* Date fields + duration badge layout in proposeDealForm */
#proposeDealModal .propose-date-col {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
}

#proposeDealModal .propose-badge-col {
    flex-shrink: 0;
    padding-bottom: 2px;
}

/* =====================================================
   proposeDealModal — polish UX demandé
   ===================================================== */

/* Panneau "Après l'envoi..." légèrement plus compact */
#proposeDealModal .propose-next-steps {
    padding: 12px 12px;
    border-radius: 13px;
}

#proposeDealModal .propose-next-steps-title {
    margin-bottom: 15px !important;
}

#proposeDealModal .propose-next-steps-list {
    gap: 8px;
}

#proposeDealModal .propose-next-step-item {
    gap: 10px;
    align-items: center;
}

/* Boutons de devise : plus d'affordance */
#proposeDealModal #AmountAndCurrency {
    background: #eef1f4;
    border: 1px solid #dde4e8;
    border-radius: 14px;
    padding: 5px;
}

#proposeDealModal .pf-currency-btn,
#proposeDealModal .currency-option-message.pf-currency-btn {
    align-content: center;
    min-height: 52px;
    border: 1.5px solid transparent !important;
    color: #181819 !important;
}

#proposeDealModal .pf-currency-btn:hover,
#proposeDealModal .currency-option-message.pf-currency-btn:hover {
    background: #e2e7eb !important;
    border-color: #c7d0d6 !important;
    color: #3d4650 !important;
}

#proposeDealModal .pf-currency-btn.active,
#proposeDealModal .currency-option-message.active {
    background: #ffffff !important;
    border: 1.5px solid rgba(8, 166, 166, 0.28) !important;
    color: var(--turquoise) !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 24px rgba(6, 104, 115, 0.10), 0 0 0 2px rgba(8, 166, 166, 0.08) inset !important;
}

/* Zone prix : input plus grand et plus contrasté */
#proposeDealModal #proposePrice {
    min-height: 42px;
    max-height: 42px;
    max-width: 160px;
    padding: 12px 16px !important;
    border: 1.5px solid #c8d8dd !important;
    background: #ffffff !important;
    color: #17323b !important;
    font-size: 20px !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(6, 104, 115, 0.06);
}

#proposeDealModal #proposePrice:focus {
    border-color: var(--turquoise) !important;
    box-shadow: 0 0 0 3px rgba(8, 166, 166, 0.12), 0 6px 16px rgba(6, 104, 115, 0.08) !important;
}

#proposeDealModal .propose-price-row > span:first-child,
#proposeDealModal .propose-price-row .proposeCurrency {
    color: #29424a;
}

/* Total plus visible */
#proposeDealModal .propose-price-total-row {
    margin-top: 14px !important;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #edf9fa 0%, #e5f5f7 100%);
    border: 1px solid #c9e6ea;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

#proposeDealModal .propose-price-total-row .text4,
#proposeDealModal .propose-price-total-row .text5,
#proposeDealModal .propose-price-total-row .text2,
#proposeDealModal .propose-price-total-row #proposePriceTotal,
#proposeDealModal .propose-price-total-row .proposeCurrency {
    color: #0f6f79 !important;
}

#proposeDealModal .propose-price-total-row #proposePriceTotal {
    font-size: 23px !important;
    font-weight: 800 !important;
}

#proposeDealModal .propose-price-total-row .proposeCurrency {
    font-weight: 700;
}

@media (max-width: 575px) {
    #proposeDealModal .propose-date-group {
        gap: 10px !important;
        padding: 12px 12px 10px;
        border: 1px solid #e4ecef;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
        box-shadow: 0 4px 14px rgba(0,0,0,0.035);
    }

    #proposeDealModal .propose-date-col {
        min-width: calc(50% - 5px);
        max-width: none;
    }

    #proposeDealModal .propose-badge-col {
        width: 100%;
        justify-content: center;
        padding-top: 2px;
        padding-bottom: 0;
    }

    #proposeDealModal .propose-duration-badge {
        min-width: 0;
        justify-content: center;
        padding: 7px 16px;
    }

    #proposeDealModal .propose-next-steps {
        padding: 10px 10px;
    }

    #proposeDealModal #proposePrice {
        max-width: 145px;
        font-size: 21px !important;
    }

    #proposeDealModal .propose-price-total-row {
        padding: 11px 12px;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 2px 4px;
    }

    #proposeDealModal .propose-price-total-row #proposePriceTotal {
        font-size: 23px !important;
    }
}

/* =============================================
   RESERVATION DETAIL — AIRBNB STYLE
   ============================================= */

.rsv-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px 10px;
}

.rsv-cancelled-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    color: #721c24;
}

.rsv-section-header {
    font-size: 15px;
    font-weight: 700;
    color: #066873;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #e8f4f5;
}

.rsv-date-block {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 6px;
}

.rsv-date-col {
    flex: 1;
    padding: 14px 12px;
    text-align: center;
}

.rsv-date-col + .rsv-date-col {
    border-left: 1.5px solid #dee2e6;
}

.rsv-date-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
    font-weight: 600;
    margin-bottom: 5px;
}

.rsv-date-value {
    font-size: 14px;
    font-weight: 700;
    color: #066873;
}

.rsv-duration {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-bottom: 16px;
}

.rsv-price-list {
    margin: 12px 0 0;
}

.rsv-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
}

.rsv-price-row:last-child {
    border-bottom: none;
}

.rsv-price-label {
    color: #555;
    font-size: 13px;
}

.rsv-price-note {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
}

.rsv-price-value {
    font-size: 13px;
    font-weight: 500;
    color: #222;
    text-align: right;
    white-space: nowrap;
}

.rsv-currency {
    font-size: 11px;
    color: #888;
    margin-left: 2px;
}

.rsv-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 4px;
    border-top: 2px solid #066873;
    margin-top: 8px;
}

.rsv-total-label {
    font-size: 15px;
    font-weight: 700;
    color: #066873;
}

.rsv-total-value {
    font-size: 15px;
    font-weight: 700;
    color: #066873;
    white-space: nowrap;
}

.rsv-refund-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #dc3545;
}

.rsv-deposit-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.rsv-deposit-status.pending {
    background: #fff8e1;
    color: #7d5a00;
    border: 1px solid #ffe082;
}

.rsv-deposit-status.sent {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.rsv-deposit-status.none {
    background: #fce4ec;
    color: #880e4f;
    border: 1px solid #f48fb1;
}

.rsv-alert-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff8e1;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 14px;
    font-size: 12px;
    color: #7d5a00;
}

.rsv-contact-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}

.rsv-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #066873, #0a9aac);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.rsv-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
}

.rsv-info-row:last-child {
    border-bottom: none;
}

.rsv-info-label {
    color: #888;
    font-size: 13px;
    flex-shrink: 0;
}

.rsv-info-value {
    font-size: 13px;
    color: #222;
    text-align: right;
    word-break: break-all;
}

a.rsv-info-value {
    color: #066873;
    text-decoration: none;
}

a.rsv-info-value:hover {
    text-decoration: underline;
}

.rsv-prop-capacity {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: #555;
    font-size: 13px;
}

.rsv-prop-capacity .rsv-dot {
    color: #ccc;
    font-size: 10px;
}

.rsv-prop-block {
    margin-bottom: 14px;
}

.rsv-prop-block-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.rsv-prop-block-value {
    font-size: 13px;
    color: #222;
}

.rsv-amenity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 4px;
}

.rsv-amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.rsv-amenity-item img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    flex-shrink: 0;
    opacity: 0.7;
}


/* ===== Deposit method & timing cards (shared: MyRentals, Messages, Reservations) ===== */
.deposit-method-list {
    display: grid;
    gap: 10px;
}

.deposit-method-card {
    border: 1px solid #d9e2e7;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.deposit-method-card label {
    display: block;
    margin: 0;
    padding: 6px 8px;
    cursor: pointer;
}

.deposit-method-card:hover {
    border-color: #02AAAD;
    background: #f0fafb;
    box-shadow: 0 0 0 2px rgba(2, 170, 173, 0.08);
}

.deposit-method-card.is-selected {
    border-color: #02AAAD;
    background: #f0fafb;
    box-shadow: 0 0 0 2px rgba(2, 170, 173, 0.08);
}

.deposit-method-radio {
    margin-top: 3px;
}

.deposit-method-title {
    display: block;
    margin-bottom: 2px;
}

.deposit-method-desc {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: #6c757d;
}

.deposit-method-title img {
    vertical-align: text-bottom;
}

.deposit-timing-list {
    display: grid;
    gap: 10px;
}

.deposit-timing-card {
    border: 1px solid #d9e2e7;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.deposit-timing-card label {
    display: block;
    margin: 0;
    padding: 6px 8px;
    cursor: pointer;
}

.deposit-timing-card:hover {
    border-color: #02AAAD;
    background: #f0fafb;
    box-shadow: 0 0 0 2px rgba(2, 170, 173, 0.08);
}

.deposit-timing-card.is-selected {
    border: 2px solid #02AAAD;
    background: #eefbfc;
    box-shadow: 0 0 0 3px rgba(2, 170, 173, 0.10);
}

.deposit-timing-card.is-disabled {
    opacity: 0.6;
    background: #f6f7f8;
    border-color: #d9dfe3;
    box-shadow: none;
}

.deposit-timing-card.is-disabled:hover {
    border-color: #d9dfe3;
    background: #f6f7f8;
    box-shadow: none;
}

.deposit-timing-card.is-disabled label {
    cursor: not-allowed;
}

.deposit-timing-radio {
    margin-top: 3px;
}

.deposit-timing-title {
    display: block;
    margin-bottom: 2px;
    color: #163c42;
}

.deposit-timing-desc,
.deposit-timing-note {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: #6c757d;
}

.deposit-timing-note {
    color: #8a6d3b;
    margin-top: 4px;
}

/* --- ABOUT US --- */

.about-page {
    row-gap: 30px;
    padding-bottom: 72px;
}

.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(9, 49, 92, 0.08), rgba(0, 206, 209, 0.12));
    border: 1px solid rgba(9, 49, 92, 0.08);
    border-radius: 32px;
    padding: 48px 34px;
    box-shadow: 0 24px 60px rgba(9, 49, 92, 0.1);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: auto -120px -120px auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.about-hero-text {
    flex: 1;
    text-align: left;
    max-width: 700px;
}

.about-badge,
.about-section-label {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-hero-text .title1 {
    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.1;
    max-width: 640px;
}

.about-hero-subtitle {
    padding-top: 18px;
    max-width: 640px;
    color: #24425f;
    line-height: 1.7 !important;
}

.about-hero-photo {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.about-photo-card {
    width: 100%;
    max-width: 350px;
    background: #fff;
    border-radius: 26px;
    padding: 12px;
    box-shadow: 0 24px 52px rgba(9, 49, 92, 0.18);
}

.about-photo-card img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.about-intro-grid,
.about-grid-two,
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.about-founder-card,
.about-mission-card,
.about-info-card,
.about-value-card,
.about-closing-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(9, 49, 92, 0.08);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 16px 38px rgba(9, 49, 92, 0.07);
    text-align: left;
}

.about-founder-card .title3,
.about-mission-card .title5,
.about-info-card .title5,
.about-value-card .title5,
.about-closing-inline .title3 {
    max-width: 560px;
}

.about-mission-card,
.about-info-card-highlight,
.about-closing-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(0, 206, 209, 0.04));
}

.about-mission-lead {
    line-height: 1.32;
    max-width: 560px;
}

.about-values-grid-single {
    grid-template-columns: 1fr;
}

.about-value-card-wide {
    max-width: 100%;
}

.about-closing-inline {
    border-top: 1px solid rgba(9, 49, 92, 0.08);
}

.about-rich-text {
    color: #2c4762;
    line-height: 1.72 !important;
}

.about-founder-card .text3.turquoise {
    font-weight: 600;
}

.about-closing-inline .title3,
.about-value-card-wide .title5,
.about-grid-two .title5,
.about-mission-card .title5,
.about-founder-card .title3 {
    margin-bottom: 0;
}

.about-rich-text strong {
    color: var(--bleu-fonce);
    font-weight: 700;
}

@media (max-width: 991px) {
    .about-hero-content {
        flex-direction: column;
    }

    .about-intro-grid,
    .about-grid-two,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding: 36px 24px;
    }

    .about-founder-card,
    .about-mission-card,
    .about-info-card,
    .about-value-card,
    .about-closing-card {
        padding: 28px 24px;
    }
}

@media (max-width: 576px) {
    .about-page {
        row-gap: 20px;
    }

    .about-hero {
        border-radius: 22px;
        padding: 24px 16px;
    }

    .about-hero-text .title1 {
        font-size: 34px;
    }

    .about-founder-card,
    .about-mission-card,
    .about-info-card,
    .about-value-card,
    .about-closing-card {
        border-radius: 20px;
        padding: 22px 16px;
    }

    .about-photo-card {
        padding: 10px;
    }
}
