﻿

/* Playa VARIABLES & FONTS rent */
:root {
    --pr-blue-dark: #004F60;
    --pr-blue-medium: #0F4F5C;
    --pr-blue-teal: #134e5e;
    --pr-yellow: #FFDB6F;
    --pr-yellow-light: #FEDB71;
    --pr-yellow-gold: #ffd36a;
    --pr-coral: #FF7A5C;
    --pr-orange: #FF7A00;
    --pr-black: #0B0B0B;
    --pr-white: #FFFFFF;
    --pr-gray: #929292;
    --pr-orange: #FF7A00;
    --pr-black: #0B0B0B;
    --pr-white: #FFFFFF;
    /* Espacements responsifs */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    /* Tailles tactiles */
    --touch-target-min: 44px;
}

@font-face {
    font-family: "Antonio-Bold";
    src: url("/fonts/Antonio-Bold.ttf") format("truetype"), url("/fonts/Antonio-Bold.ttf") format("truetype");
    font-display: swap;
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #115061;
    border-color: #115061;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #115061;
}

.content {
    padding-top: 0rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.rz-steps ul {
    display: none !important;
}

.rz-steps-next {
}


.pr-bg-vert {
    background-color: #004F60;
}

.pr-bg-jaune {
    background-color: #FFDB6F;
}

.pr-bg-blanc {
    background-color: #FFF;
}

@font-face {
    font-family: "Antonio-Bold";
    src: url("/fonts/Antonio-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Antonio-Bold";
    src: url("/fonts/Antonio-Bold.ttf") format("truetype");
}

.pr-span-bold {
    font-family: "Antonio-Bold";
    font-size: 1.5rem;
    color: #004F60;
}

.pr-pic-res-soc {
    width: 3rem;
}

.rz-multiselect-item:hover {
    opacity: 0.5;
}

.rz-steps > ul[role="tablist"]:first-of-type {
    display: none;
}

/* Ensure no scrollbars appear */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}
/* Create a grid with 20 rows and 12 columns */
.grid-container {
    display: grid;
    grid-template-rows: auto 1fr auto; /* header / body / footer */
    grid-template-columns: 1fr;
    min-height: 100vh;
    width: 100%;
}
/* Styling for grid items */
.grid-item {
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(0.5vw + 0.5vh);
    background-color: rgba(0, 123, 255, 0.2);
}

.rz-listbox-list {
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

    .rz-listbox-list::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }


.full-parent {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

ul {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure the ul takes the full height of its parent */
    margin: 0;
    padding: 0;
    list-style: none; /* Optional: removes default list styling */
}

    ul > li {
        flex: 1 1 auto; /* Allows each li to grow and shrink equally */
        overflow: hidden; /* Prevents content from overflowing */
    }

.rz-listbox-list > li.rz-multiselect-item {
}

li.rz-multiselect-item > span.rz-multiselect-item-content {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.rz-steps-next {
    color: green !important;
    font-family: 'Segoe Fluent Icons';
    font-size: 30px;
    font-style: oblique;
}

.rz-steps-next {
    color: green !important;
    font-family: 'Segoe Fluent Icons';
    font-size: 30px;
    font-style: oblique;
}

.rz-listbox {
    border: none;
}

.rz-state-highlight {
}

.rz-multiselect-item {
}

.rz-state-highlight {
}

.my-listbox {
    --rz-listbox-focus-border: none;
    --rz-listbox-focus-shadow: none;
}




/* new css*/


/* HEADER DESKTOP */
.pr-header {
}

.pr-header {
    background-color: #FEDB71;
    background-image: url("svg/Header_backg1.svg");
    background-size: cover; /* maintenant possible */
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1920 / 260;
}




.pr-header__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.pr-header__left /*(je pense qu'on va le supprimer a confirmer avec Nicolas)*/ {
    position: absolute;
    top: 35px; /* position du menu */
    right: 24px; /* Position menu collé au bord droit */
    left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pr-header__center {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-header__right {
    position: absolute;
    top: 60%; /* positin logo */
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-header__burger {
    color: var(--pr-white);
}

/* LOGO DESKTOP */
.pr-logo {
    height: 64px; /* taille */
    width: auto;
    /*display: block;*/
}

/* Sidebar theme (optionnel) */
.pr-sidebar {
    background: var(--pr-white);
}

.pr-footer {
}

/* FOOTER */
.pr-footer {
    position: relative;
    color: var(--pr-white);
    background-color: #FEDB71;
    background-image: url("svg/Footer_backg.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1920 / 180;
    padding: 0;
}



/* Contenu centré dans le footer */
.pr-footer__inner {
    position: absolute;
    gap: 20px;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* décalage vertical */
    transform: translateY(25px);
}










/* btn */
.rz-button-box {
    color: #0F4F5C !important;
}

button.rz-button.pr-btn-primary {
    display: flex;
    justify-content: center;
    max-width: 10rem;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 999px !important;
    padding: 16px 48px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
}

    button.rz-button.pr-btn-primary .rz-button-text {
        color: #0F4F5C !important;
        font-size: 0.8rem;
        font-weight: 400;
    }
/* SECTION HOME (zone jaune centrale) */
.rz-col.full-parent {
    background-size: 70%; /* maintenant possible */
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 980/ 250;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}



    /* GROUPE DES BOUTONS */
    .rz-col.full-parent button {
        margin: 0;
    }

        /* BOUTONS CÔTE À CÔTE */
        .rz-col.full-parent button + button {
            margin-left: 40px; /* gap horizontal */
        }



/*button retour par défaut*/

button.rz-button.pr-btn-secondary {
    min-width: 40px !important;
    height: 35px !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    padding: 16px 48px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    text-transform: uppercase !important;
}

    button.rz-button.pr-btn-secondary .rz-button-text {
        color: #0F4F5C !important;
        font-size: 0.8rem !important;
        font-weight: 400 !important;
    }

.rz-steps-buttons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
}

.rz-steps-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 75% !important;
}

.rz-steps-prev,
.rz-steps-next {
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: uppercase !important;
    margin-right: auto !important;
}

.rz-steps-prev,
.rz-steps-next {
    min-width: 100px !important;
    height: 40px !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    padding: 16px 48px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    text-transform: uppercase !important;
}



    .rz-steps-prev,
    .rz-steps-next a {
        color: #FFFFFF !important;
        font-size: 0.8rem;
        font-weight: 400;
    }


.rz-steps {
    height: 50vh;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 85% !important;
}




/*condition */
.rz-text-display-h4 {
    margin: 10px !important;
}




/* Bouton principal Playa-Rent */
.rz-button.rz-primary.pr-btn-primary {
    min-width: 20px !important;
    max-width: 200px !important;
    height: 2rem !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    padding: 16px 48px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    text-transform: uppercase !important;
    text-align: center;
    justify-content: center;
}






/*text box */

/* Textbox Code Promo */

.pr-input-promo.rz-textbox {
    width: 200px;
    max-width: 400px;
    height: 40px;
    background-color: #134e5e;
    color: #EE7456;
    border-radius: 999px;
    border: 2px solid #ffd36a;
    padding: 0 6%;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    outline: none;
}

.pr-btn-promo {
    min-width: 20px !important;
    max-width: 200px !important;
    height: 2rem !important;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    color: #0F4F5C;
}

    .pr-btn-promo.rz-button-md {
        min-height: 2.3rem;
        font-size: 10px
    }

.pr-input-promo::placeholder {
    color: #16677D;
    font-style: italic;
    font-size: 15px;
}

.pr-input-promo:focus {
    border: 2px solid #ffd36a;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
}

.rz-widget-content {
    flex-wrap: wrap;
    gap: 15px 20px;
    justify-content: center;
    padding: 13px;
}

    .rz-widget-content > * {
        flex: 1 1 calc(50% - 16px);
    }



.rz-widget-content {
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}

    .rz-widget-content::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

.promo-box {
}
/* NOM + PRENOM */
.nom_prenom {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 24px;
}

/* Inputs taille fixe style maquette */
.pr-input-nom,
.pr-input-prenom {
    min-width: 20px !important;
    max-width: 200px !important;
    height: 2rem !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    width: 280px !important;
}

/* TELEPHONE SECTION */
.phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.phone-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.phone-prefix {
    display: flex;
    align-items: center;
    min-width: 20px !important;
    max-width: 200px !important;
    height: 2rem !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    gap: 6px;
    padding: 10px 18px;
    font-weight: 500;
    color: #0F4F5C !important;
}

.pr-input-phone {
    min-width: 20px !important;
    max-width: 200px !important;
    height: 2rem !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    width: 360px !important;
}

.pr-input-email {
    min-width: 20px !important;
    height: 2rem !important;
    background-color: #0F4F5C !important;
    border: 2px solid #FEDB71 !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    width: 400px !important;
    display: block;
    margin: 0 auto;
}
/* FIX page Finish (body.no-padding) : pas de flex, pas de padding/marge */
body.no-padding {
    padding: 0 !important;
    margin: 0 !important;
    display: block !important; /* <-- annule le display:flex */
    justify-content: initial !important;
    align-items: initial !important;
}

/* optionnel mais souvent nécessaire aussi */
html, body.no-padding {
    width: 100% !important;
    height: 100% !important;
}
/*prix */

/* état vide */
.is-empty {
    opacity: 1;
}

/* état rempli */
.is-filled {
    opacity: 1;
}

.rz-dropdown.pr-input-heure {
    background-color: #0F4F5C !important;
    border-radius: 999px !important;
    border: 2px solid #FEDB71 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    color: white !important;
}



    .rz-dropdown.pr-input-heure.rz-state-empty
    .rz-dropdown-label {
        color: rgba(255, 255, 255, 0.6) !important;
    }


    /*valeur séléctionner */
    .rz-dropdown.pr-input-heure:not(.rz-state-empty)
    .rz-dropdown-label {
        color: white !important;
        font-weight: 600 !important;
    }
/*tarif texte box */

.rz-textbox.pr-input-tarif {
    background-color: #0F4F5C !important;
    border-radius: 999px !important;
    border: 2px solid #FEDB71 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    color: white !important;
}

    .rz-textbox.pr-input-tarif::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .rz-textbox.pr-input-tarif[readonly] {
        opacity: 1 !important;
        cursor: default !important;
    }

.is-empty {
    border-color: #FEDB71 !important;
}

.is-filled {
    border-color: #FFD36A !important;
}


.rz-material .rz-dropdown.pr-input-heure {
    background-color: black !important;
}

.price-section {
    overflow: visible;
    height: 19rem;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* espace entre price-box et code promo */
}

.pr-scroll {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


.pr-scroll-box {
    width: 40%;
    max-height: 9rem;
    overflow-y: auto;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    color: white;
    border-radius: 16px;
    justify-content: center;
    padding: 18px;
}

.condition-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px; /* ⬅ réduit la hauteur */

    border-radius: 4px;
    box-shadow: none;
}

.condition-label {
    font-size: 13px;
    line-height: 1.2;
    max-width: 80%;
}
/**/ finish-page {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 4px;
}

.finish-content {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}



/* carte orange */
.finish-card {
    background: #F07B63;
    border: 2px solid #0F4F5C;
    border-radius: 18px;
    padding: 10px 22px;
    box-shadow: 0 10px 18px rgba(0,0,0,.18);
    max-width: 420px;
    width: 100%;
    max-height: 8rem;
}

.finish-text {
    margin: 0;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.35;
    font-size: 14px;
    text-align: center;
}

/* bouton à droite */
.finish-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}

.detail-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    box-sizing: border-box;
}

/* Les deux boutons côte à côte avec un espace entre eux */
.detail-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    height: 5rem;
}

.detail-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F4F5C;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Conteneur image */
.detail-img-wrapper {
    width: 50%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.pr-input-nom,
.pr-input-prenom {
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    height: 3rem !important;
    width: 280px !important;
    color: #0F4F5C;
}

.phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.phone-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.phone-prefix {
    display: flex;
    align-items: center;
    min-width: 20px !important;
    max-width: 200px !important;
    height: 3rem !important;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    gap: 6px;
    padding: 10px 18px;
    font-weight: 500;
    color: #0F4F5C !important;
}

.pr-input-phone {
    max-width: 15.5rem !important;
    height: 3rem !important;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    width: 360px !important;
}

.pr-input-email {
    max-width: 22rem !important;
    height: 3rem !important;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    width: 400px !important;
    display: block;
    margin: 0 auto;
}

.pr-input-promo.rz-textbox {
    width: 15rem;
    max-width: 300px;
    height: 40px;
    background-color: #ffdb70 !important;
    border: 1px solid #FFFFFF !important;
    color: #EE7456;
    border-radius: 999px;
    padding: 0 6%;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
    outline: none;
}

.rz-switch.rz-switch-checked
.rz-switch-circle:before {
    height: 1.1rem;
    background: #95c11f !important;
    transform: translateX(1rem) !important;
}

.rz-switch
.rz-switch-circle {
    height: 1.6rem;
    width: 2.6rem;
    background-color: #ffdb70 !important;
}


.conditions-wrapper {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.conditions-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F4F5C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.condition-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0;
}

.condition-label {
    color: #0F4F5C;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Override Radzen switch */
.custom-switch .rz-switch-circle {
    height: 1.6rem !important;
    width: 2.6rem !important;
    background-color: #ffdb70 !important;
    border: 2px solid #0F4F5C !important;
    display: flex !important;
    align-items: center !important;
}

.custom-switch.rz-switch-checked .rz-switch-circle {
    background-color: #FFFFFF !important;
}

    .custom-switch.rz-switch-checked .rz-switch-circle:before {
        height: 1.1rem !important;
        width: 1.1rem !important;
        background: #95c11f !important;
        border-radius: 50% !important;
        position: absolute !important;
        top: 95% !important;
        transform: translateY(-50%) !important;
    }

    .custom-switch.rz-switch-checked .rz-switch-circle:before {
        transform: translateY(-50%) translateX(1rem) !important;
    }

.finish-page {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 4px;
}

.finish-content {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
/* Wrapper image */
.finish-hero-wrapper {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.finish-hero {
    width: auto;
    max-height: 11rem;
    object-fit: contain;
}

.finish-hero2 {
    width: auto;
    max-height: 8rem;
    object-fit: contain;
}

/* Wrapper texte */
.finish-text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.finish-text {
    margin: 0;
    color: #0F4F5C;
    font-weight: 600;
    line-height: 1.5;
    font-size: 16px;
    text-align: center;
}
/* Bouton à droite */
.finish-actions {
    width: 80%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 16px;
    margin-bottom: 1rem;
}
/* === VALIDATION === */
.valid.modified:not([type=checkbox]) {
    outline: 2px solid #26b050;
}

.invalid {
    outline: 2px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    margin-top: 0.25rem;
}

/* === COMPOSANTS RADZEN === */
.rz-listbox {
    border: none;
}

.rz-listbox-list {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .rz-listbox-list::-webkit-scrollbar {
        display: none;
    }

.rz-multiselect-item:hover {
    opacity: 0.7;
}

.rz-text-display-h4 {
    margin: var(--spacing-sm) !important;
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
}

/* Sidebar */
.pr-sidebar {
    background: var(--pr-white);
}

/* playa  RESPONSIVE MOBILE rent */
@media (max-width: 1030px) {
    body {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important; /* <-- annule le display:flex */
        justify-content: initial !important;
        align-items: initial !important;
    }

        html, body.no-padding {
            width: 100% !important;
            height: 100% !important;
        }

    .rz-col.full-parent {
        min-height: 70vh !important;
    }
}

@media (max-width: 768px) {
    body {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important; /* <-- annule le display:flex */
        justify-content: initial !important;
        align-items: initial !important;
    }

    .pr-header__left /*(je pense qu'on va le supprimer a confirmer avec Nicolas)*/ {
        position: absolute;
        top: 0rem; /* position du menu */
        right: 0rem; /* Position menu collé au bord droit */
        left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    /* Header mobile avec ratio plus haut */
    .pr-header__inner {
        max-height: 200px;
    }

    .pr-header {
        background-image: url("svg/Header_mobile.svg");
        aspect-ratio: 4 / 1.5;
    }



    .pr-logo {
        height: clamp(2.5rem, 10vw, 3.5rem);
    }

    .pr-footer {
    }

    /* Footer mobile */
    .pr-footer {
        background-image: url("svg/Footer_mobile.svg");
        aspect-ratio: 4 / 1.2;
    }



    .pr-footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .pr-input-promo.rz-textbox {
        width: 15rem;
        max-width: 400px;
        height: 40px;
        background-color: #134e5e;
        color: #EE7456;
        border-radius: 999px;
        border: 2px solid #ffd36a;
        padding: 0 6%;
        font-size: 18px;
        font-weight: 500;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
        outline: none;
    }
    /* Formulaires en pleine largeur */
    .rz-widget-content > * {
        flex: 1 1 100%;
        min-width: 100%;
    }

    /* Boutons empilés */
    .rz-col.full-parent {
        background-size: 90%;
    }

        .rz-col.full-parent button + button {
            margin-left: 0;
            gap: 2rem;
        }

    /* Navigation adaptée */
    .rz-steps {
        width: 80% !important;
        flex-wrap: wrap;
    }

    .rz-steps-buttons {
        width: 100% !important;
        gap: 5rem !important;
    }

    .pr-scroll {
        padding-bottom: 8px !important; /* ← réduis ici (0, 6px, 8px…) */
        margin-bottom: 0 !important;
    }

    .pr-scroll {
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .pr-scroll-box {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        color: #0F4F5C;
        border-radius: 16px;
        justify-content: center;
        padding: 18px;
    }

    .price-section {
        max-height: 50vh !important;
        padding-bottom: 0 !important;
    }

    .rz-widget-content {
        max-height: 50vh !important;
        padding-bottom: 0 !important;
        padding: 0px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .rz-widget-content ::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

    .rz-col.full-parent {
        min-height: 65vh !important;
    }
}

@media (max-width: 480px) {
    body {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important; /* <-- annule le display:flex */
        justify-content: initial !important;
        align-items: initial !important;
    }

        html, body.no-padding {
            width: 100% !important;
            height: 100% !important;
        }


    .pr-header__left /*(je pense qu'on va le supprimer a confirmer avec Nicolas)*/ {
        position: absolute;
        top: 0rem; /* position du menu */
        right: 0rem; /* Position menu collé au bord droit */
        left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .pr-header__center {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%) translateY(20px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pr-footer__inner {
        position: absolute;
        gap: 20px;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        /* décalage vertical */
        transform: translateY(-0.2rem);
    }

    .rz-steps-prev,
    .rz-steps-next {
        max-width: 8rem !important;
        height: 40px !important;
        background-color: #0F4F5C !important;
        border: 2px solid #FEDB71 !important;
        border-radius: 999px !important;
        padding: 16px 48px !important;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
        text-transform: uppercase !important;
    }



        .rz-steps-prev,
        .rz-steps-next a {
            color: #FFFFFF !important;
            font-size: 0.8rem;
            font-weight: 400;
        }


    .rz-steps {
        scrollbar-width: none;
        -ms-overflow-style: none;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 85% !important;
    }


    .rz-col.full-parent {
        min-height: 65vh !important;
    }

    .detail-page {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    /* Les deux boutons côte à côte avec un espace entre eux */
    .detail-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        height: 10rem;
    }

    .rz-button-box {
        color: #0F4F5C !important;
        font-size: 0.7rem;
    }
    /* Grand titre centré */
    .detail-title {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 800;
        color: #0F4F5C;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Conteneur image */
    .detail-img-wrapper {
        width: 100%;
        max-width: 600px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .detail-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .pr-input-nom,
    .pr-input-prenom {
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        height: 3rem !important;
        width: 280px !important;
        color: #0F4F5C;
    }

    .phone-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin-bottom: 24px;
    }

    .phone-row {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .phone-prefix {
        display: flex;
        align-items: center;
        min-width: 20px !important;
        max-width: 200px !important;
        height: 3rem !important;
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        border-radius: 999px !important;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
        gap: 6px;
        padding: 10px 18px;
        font-weight: 500;
        color: #0F4F5C !important;
    }

    .pr-input-phone {
        max-width: 15.5rem !important;
        height: 3rem !important;
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        border-radius: 999px !important;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
        width: 360px !important;
    }

    .pr-input-email {
        max-width: 22rem !important;
        height: 3rem !important;
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        border-radius: 999px !important;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
        width: 400px !important;
        display: block;
        margin: 0 auto;
    }
    /* FIX page Finish (body.no-padding) : pas de flex, pas de padding/marge */
    body.no-padding {
        padding: 0 !important;
        margin: 0 !important;
        display: block !important; /* <-- annule le display:flex */
        justify-content: initial !important;
        align-items: initial !important;
    }

    /* optionnel mais souvent nécessaire aussi */
    html, body.no-padding {
        width: 100% !important;
        height: 100% !important;
    }


    .rz-switch.rz-switch-checked
    .rz-switch-circle:before {
        height: 1.1rem;
        background: #95c11f !important;
        transform: translateX(1rem) !important;
    }

    .rz-switch
    .rz-switch-circle {
        height: 1.6rem;
        width: 2.6rem;
        background-color: #ffdb70 !important;
    }


    .conditions-wrapper {
        display: flex;
        flex-direction: column;
        padding: 16px 20px;
        gap: 8px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .conditions-title {
        font-size: 1rem;
        font-weight: 700;
        color: #0F4F5C;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0 0 8px 0;
    }

    .condition-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 4px 0;
    }

    .condition-label {
        color: #0F4F5C;
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* Override Radzen switch */
    .custom-switch .rz-switch-circle {
        height: 1.6rem !important;
        width: 2.6rem !important;
        background-color: #ffdb70 !important;
        border: 2px solid #0F4F5C !important;
        display: flex !important;
        align-items: center !important;
    }

    .custom-switch.rz-switch-checked .rz-switch-circle {
        background-color: #FFFFFF !important;
    }

        .custom-switch.rz-switch-checked .rz-switch-circle:before {
            height: 1.1rem !important;
            width: 1.1rem !important;
            background: #95c11f !important;
            border-radius: 50% !important;
            position: absolute !important;
            top: 95% !important;
            transform: translateY(-50%) !important;
        }

        .custom-switch.rz-switch-checked .rz-switch-circle:before {
            transform: translateY(-50%) translateX(1rem) !important;
        }

    .finish-page {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        padding: 4px;
    }

    .finish-content {
        width: 100%;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    /* Wrapper image */
    .finish-hero-wrapper {
        width: 70%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .finish-hero {
        width: auto;
        max-height: 280px;
        object-fit: contain;
    }

    .finish-hero2 {
        width: auto;
        max-height: 280px;
        object-fit: contain;
    }
    /* Wrapper texte */
    .finish-text-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 16px;
    }

    .finish-text {
        margin: 0;
        color: #0F4F5C;
        font-weight: 600;
        line-height: 1.5;
        font-size: 16px;
        text-align: center;
    }
    /* Bouton à droite */
    .finish-actions {
        width: 80%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 16px;
        margin-bottom: 1rem;
    }
    /*  .finish-page {
         
        }

        .finish-hero {
            max-width: 320px;
        }

        .finish-card {
            width: 92vw;
            padding: 16px 16px;
            border-radius: 16px;
        }

        .finish-text {
            font-size: 13px;
        }*/
    /* Très petits écrans */


    .pr-header {
        /*aspect-ratio: 1 / 1;*/
        background-image: url("svg/Header_mobile2.svg");
        aspect-ratio: 5 / 2.3;
    }

    .pr-footer {
        /*aspect-ratio: 1 / 1;*/
        background-image: url("svg/Footer_mobile2.svg");
        aspect-ratio: 4 / 1.2;
    }


    .pr-logo {
        padding-top: 20px;
        height: clamp(5rem, 19vw, 7rem);
    }

    .pr-header__left /*(je pense qu'on va le supprimer a confirmer avec Nicolas)*/ {
        position: absolute;
        top: 35px; /* position du menu */
        right: 24px; /* Position menu collé au bord droit */
        left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .pr-input-promo.rz-textbox {
        width: 15rem;
        max-width: 300px;
        height: 40px;
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        color: #EE7456;
        border-radius: 999px;
        padding: 0 6%;
        font-size: 18px;
        font-weight: 500;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.28), 0 2px 3px rgba(255, 255, 255, 0.25) !important;
        outline: none;
    }
    /* NOM + PRENOM */
    .nom_prenom {
        display: flex;
        gap: 24px;
        justify-content: center;
        margin-bottom: 24px;
    }
    /* Inputs taille fixe style maquette */
    /* TELEPHONE SECTION */
    .phone-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin-bottom: 24px;
    }

    .phone-row {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .phone-prefix {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #0F4F5C;
        color: #0F4F5C !important;
        border: 2px solid #FEDB71;
        border-radius: 999px;
        padding: 10px 18px;
        font-weight: 500;
    }


    .pr-input-email {
        width: 660px !important;
        display: block;
        margin: 0 auto;
    }


    .pr-scroll {
        padding-bottom: 8px !important; /* ← réduis ici (0, 6px, 8px…) */
        margin-bottom: 0 !important;
    }

    .pr-scroll {
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .pr-scroll-box {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        background-color: #ffdb70 !important;
        border: 1px solid #FFFFFF !important;
        color: #0F4F5C;
        border-radius: 16px;
        justify-content: center;
        padding: 18px;
    }

    .price-section {
        max-height: 50vh !important;
        padding-bottom: 0 !important;
    }

    .rz-widget-content {
        max-height: 50vh !important;
    }

    .rz-col.full-parent {
        min-height: 65vh !important;
    }

    .price-box {
        display: flex;
        gap: 10px;
    }

    .price-indi {
        display: flex;
        gap: 10px;
        height: 10vh;
        color: #0F4F5C;
    }

    .price-indi2 {
        display: flex;
        gap: 10px;
        height: 15vh;
        color: #0F4F5C;
    }

    .pr-input-heure {
        min-width: 20vw !important;
        flex: 1.3;
    }

    .rz-textbox {
        max-width: 30vw;
    }

    .pr-input-tarif {
        flex: 1.3;
    }

    .promo-box {
        display: flex !important;
        align-items: flex-start !important;
        gap: 6px;
    }
    /*@media (max-width: 640px) {

    .rz-col.full-parent {
        max-height: 50vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

        .rz-col.full-parent button {
            width: 80%; 
            max-width: 280px;
        }
    .rz-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rz-widget-content {
        padding: 8px !important;
    }
}*/
    /* PRINT*/
    @media print {
        .pr-header,
        .pr-footer,
        .rz-steps {
            display: none;
        }
    }
    /* ÉTATS FOCUS ACCESSIBILITÉ */
    .btn:focus,
    .btn:active:focus,
    .btn-link.nav-link:focus,
    .form-control:focus,
    .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem var(--pr-white), 0 0 0 0.25rem var(--pr-blue-medium);
    }

    button:focus-visible,
    a:focus-visible,
    input:focus-visible {
        outline: 3px solid var(--pr-yellow);
        outline-offset: 2px;
    }
    /* ANIMATIONS */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .content {
        animation: fadeIn 0.4s ease-out;
    }
    /* COMPATIBILITÉ */
    .blazor-error-boundary {
        background: url(data:image/svg) no-repeat 1rem/1.8rem, #b32121;
        padding: 1rem 1rem 1rem 3.7rem;
        color: white;
    }

        .blazor-error-boundary::after {
            content: "An error has occurred.";
        }
}


@media (max-width: 400px) {
    .pr-input-phone {
        max-width: 14.1rem !important;
    }

    .pr-input-email {
        width: 20.1rem !important;
    }

    .pr-input-promo.rz-textbox {
        width: 13.1rem;
    }
}

@media (max-width: 380px) {
    .pr-input-phone {
        max-width: 13rem !important;
    }

    .pr-input-email {
        max-width: 19rem !important;
    }

    .pr-input-promo.rz-textbox {
        width: 13.1rem;
    }
}
