/* Theme Name: CorailRenting v7-1-3
Text Domain: corailrenting
Version: 5.1.2  
Author: Mabreizh   
Author URI: https://mabreizh.eu/ 
*/

/* ==========================================================================
   SOMMAIRE (TABLE OF CONTENTS)
   ==========================================================================
   1.  POLICES D'ÉCRITURE (FONTS)
   2.  RÉINITIALISATION & BASE (RESET & BASICS)
   3.  MISE EN PAGE GÉNÉRALE & BACKGROUNDS (LAYOUT)
   4.  TYPOGRAPHIE & STYLE DE CONTENU (TYPOGRAPHY)
   5.  COMPOSANTS D'INTERFACE (UI COMPONENTS)
       - Messages / Notifications
       - Loader
       - Boutons
   6.  EN-TÊTE & NAVIGATION (HEADER & NAV)
       - Header Principal
       - Menu Burger & Bouton Connexion
       - Navigation Latérale
   7.  CONTENU PRINCIPAL (MAIN CONTENT)
       - Articles / Pages
       - Blocs Gutenberg
   8.  FORMULAIRES (FORMS)
   9.  VÉHICULES (VEHICLES)
       - Listes / Grilles
       - Fiche Véhicule (Single)
       - Popins
   10. ESPACE CLIENT & RÉSERVATIONS (CLIENT AREA)
   11. CALENDRIER & PLANNING (CALENDAR)
   12. PIED DE PAGE (FOOTER)
   13. ADMINISTRATION & GESTION (BACK-OFFICE)
       - Filtres
       - Logs
       - Tableaux de réduction
   ========================================================================== */


/* ==========================================================================
   1. POLICES D'ÉCRITURE (FONTS)
   ========================================================================== */

/* ==========================================================================
   1. POLICES D'ÉCRITURE (FONTS) - OPTIMISÉES
   ========================================================================== */

/* lobster-regular - latin */
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* Important pour la performance */
  src: url('./fonts/lobster-v23-latin-regular.woff2') format('woff2'), /* Super rapide */
       url('./fonts/lobster-v23-latin-regular.woff') format('woff'),
       url('./fonts/lobster-v23-latin-regular.ttf') format('truetype'); 
}

/* oswald-300 - latin (Light) */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/oswald-v35-latin-300.woff2') format('woff2'),
       url('./fonts/oswald-v35-latin-300.woff') format('woff'),
       url('./fonts/oswald-v35-latin-300.ttf') format('truetype');
}

/* oswald-regular - latin (Normal) */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/oswald-v35-latin-regular.woff2') format('woff2'),
       url('./fonts/oswald-v35-latin-regular.woff') format('woff'),
       url('./fonts/oswald-v35-latin-regular.ttf') format('truetype');
}

/* oswald-600 - latin (Semi-Bold/Bold) */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/oswald-v35-latin-600.woff2') format('woff2'),
       url('./fonts/oswald-v35-latin-600.woff') format('woff'),
       url('./fonts/oswald-v35-latin-600.ttf') format('truetype');
}

/* slick icons (Garder tel quel si nécessaire, mais woff2 prioritaire aussi si dispo) */
@font-face {
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;
    font-display: block; /* Pour les icônes, block évite d'afficher un carré vide */
    src: url('./fonts/slick.woff') format('woff'),
         url('./fonts/slick.ttf') format('truetype');
}

/* ==========================================================================
   2. RÉINITIALISATION & BASE (RESET & BASICS)
   ========================================================================== */

html, body {
    border: none;
    margin: 0;
    padding: 0;
    min-height: 100%;
}

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, tr, th, td, figure, span {
    border: none;
    font-size: inherit;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    text-align: inherit;
    cursor: default;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
    --webkit--font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

ul, li {
    list-style-type: none;
    text-align: left;
}

a, path, button, input, textearea {
    outline-style: none;
}

a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

img {
    transform-origin: center;
    display: block;
    margin: 0;
}

/* Gestion du scroll et de l'accessibilité */
html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0s !important; transition-duration: 0s !important; }
}

.grecaptcha-badge {
    visibility: hidden !important;
}


/* ==========================================================================
   3. MISE EN PAGE GÉNÉRALE & BACKGROUNDS (LAYOUT)
   ========================================================================== */

body {
    font-family: "Oswald", sans-serif;
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: -0.015em;
    text-align: left;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center bottom;
    background-color: #1f366a;
    background: radial-gradient(ellipse at top, #03a8e9, #1f366a), radial-gradient(ellipse at bottom, #1f366a, #1f366a);
}

#main-content {
    overflow: hidden;
}

/* Fonds spécifiques */
.fond-marin {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom center;
    background-size: contain;
    height: 100%;
    min-height: 100%;
}

body.mobile.portrait .fond-marin {
    background-size: contain;
}

.c_corail {
    background-color: #f76965;
    background-repeat: no-repeat !important;
    transition: none;
    background-position: 40px -1px;
    background-size: 53% auto;
}

body.home.desktop .c_corail {
    background-position: calc(50% - 150px) -1px;
    background-position: calc(21% - 150px) -1px;
}

body.home.mobile.landscape, body.home.desktop .c_corail {
    background-size: 39% auto;
}

/* Helpers de mise en page */
.sticky { position: fixed !important; }

@media screen and (max-width: 767px) { 
    .desktop .wrapper, .landscape .wrapper { display: flex; flex-direction: row; align-items: top; }
    .desktop .wrapper > *, .landscape .wrapper > * { flex: 1; }
    .desktop .wrapper > *:not(:first-child), .landscape .wrapper > *:not(:first-child) { padding-left: 24px; }
}

@media screen and (min-width: 768px) { 
    .wrapper { display: flex; flex-direction: row; align-items: top; }
    .wrapper > * { flex: 1; }
    .wrapper > *:not(:first-child) { padding-left: 24px; }
    
    ._2cols { display: flex; }
    ._2cols > * { flex: 1; }
}


/* ==========================================================================
   4. TYPOGRAPHIE & STYLE DE CONTENU (TYPOGRAPHY)
   ========================================================================== */

/* Titres */
h2, h3, h4, h5, h6 { font-weight: 400 !important; }

.entry-header > h1, 
#site-content .entry-title, 
#page-client .entry-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-family: "lobster", serif;
    text-align: center;
    font-weight: normal;
}

.front-content > h2, 
.entry-content > h2, 
.wp-block-heading {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 2.6rem;
    color: #1f366a;
    text-align: center;
}

.front-content > h2 {
    text-shadow:
    -1px -1px 0 #F76965,
    1px -1px 0 #F76965,
    -1px 1px 0 #F76965,
    1px 1px 0 #F76965;
}

.entry-content > h2 > span, 
#header-vehicule h1 > span {
    font-size: 0.8em;
    display: inline-block;
    background: #1E386C;
    padding: 0.25em 0.75em;
    color: white;
    border-radius: 25px;
    line-height: 1;
    margin: 0.25em 0;
    position: relative;
    bottom: 1px;
}

.front-content > h3 { margin: 24px 0 12px 0; font-size: 2.5rem; text-shadow: -1px -1px 0 #F76965, 1px -1px 0 #F76965, -1px 1px 0 #F76965, 1px 1px 0 #F76965; }
.entry-content > h3 { margin-top: 18px; margin-bottom: 6px; font-size: 2.4rem; }
.entry-content > h4 { margin-top: 12px; margin-bottom: 3px; font-size: 2.2rem; }
.entry-content > h5 { margin-top: 6px; margin-bottom: 3px; font-size: 2rem; }
.entry-content > h6 { margin-top: 3px; margin-bottom: 3px; font-size: 1.8rem; }

/* Paragraphes & Textes */
.entry-content > p { padding-bottom: 3px; margin-bottom: 7px; }
.entry-content > p:last-child { padding-bottom: 36px; }
.first-p { margin-top: 36px; }
p.ptit_texte { font-size: 1.4rem !important; }
.container-text p { margin: 3px 0 6px 0; }

/* Liens dans le contenu */
.entry-content > p:not(.bouton) > a { text-decoration: underline; }
.entry-content > p:not(.bouton) > a:hover { color: rgb(31, 54, 106); }

/* Listes */
.entry-content > ul, 
.container-text ul { margin: 12px 0; padding: 0; }
.entry-content > ul li, 
.container-text ul li { margin-bottom: 6px; margin-left: 24px; list-style-type: disc; }

/* Citations & Blockquotes */
blockquote::before, blockquote::after { content: ""; }
.wp-block-pullquote { margin: 0; padding: 0 !important; text-align: center; }

.container-text blockquote, 
.wp-block-pullquote blockquote, 
article blockquote {
    margin: 24px 12px !important;
    padding: 12px 24px;
    display: inline-block;
    border: 3px dotted rgb(31, 54, 106);
    color: rgb(31, 54, 106);
    border-radius: 19px;
    font-size: 2rem;
    background-color: #f76965;
}

.container-text blockquote a, 
.wp-block-pullquote blockquote a, 
article blockquote a { color: rgb(31, 54, 106) !important; }

.container-text blockquote, 
.wp-block-pullquote blockquote * { font-size: 2.2rem; }

blockquote.client { display: block !important; }

.wp-block-pullquote blockquote.important, 
.wp-block-pullquote.important blockquote {
    background-color: #03a8e9;
    color: white;
    border-color: white;
}

/* Séparateurs */
hr { border: none; border-top: 1px dotted white; margin: 24px 0; }
hr.separateur { margin-top: 48px; margin-bottom: 48px; border: none; }
.entry-content hr { margin: 24px 0; }
.wp-block-separator { border-top: 2px dotted rgba(255,255,255,0.5); }

/* Classes utilitaires texte */
.rose { color: #f2524e; }
.bleu { color: #1f366a; }
.alerte { text-align: center; color: rgb(31, 54, 106); }
.mention { text-align: center; color: rgb(255, 255, 255); font-size: 0.8em; }
.info { font-size: 1.5rem; color: rgb(31, 54, 106); text-align: right; }
small { font-size: 0.8em; margin-bottom: 5px; text-align: right; display: block; }
#main-content pre { padding-left: 50%; }
.cursor-help { cursor: cursor-help; }
.cursor-pointer { cursor: cursor-pointer; }


/* ==========================================================================
   5. COMPOSANTS D'INTERFACE (UI COMPONENTS)
   ========================================================================== */

/* --- Messages (Popup) --- */
#messages {
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    display: none;
}

#messages.actif { display: flex; }
#messages > * { flex: auto; max-width: 600px; }

#messages .container_message {
    position: relative;
    background: white;
    padding: 36px 24px 48px 24px;
    border-radius: 3px;
    color: #666666;
    text-align: center;
}

#messages .container_message:not(:first-child) { display: none; }
#messages .container_message .secondaire { color: #666; }

#messages .close-message {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px;
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    color: #666666;
    cursor: pointer;
    background-color: transparent;
}

#messages .close-message:hover { color: #f2524e; }

#messages header { display: flex; align-items: center; justify-content: center; }
#messages header figure { width: 30%; max-width: 80px; }
#messages header h1 { font-family: "Lobster", serif; font-size: 2.5rem; padding: 0 24px 0 12px; text-align: left; font-weight: normal; }
#messages a.bouton { border: none; }

/* --- Boutons --- */
p.bouton { text-align: center; }

p.bouton a, 
form:not(.secondaire) input[type="submit"], 
a.bouton, 
input[type="button"], 
button.bouton {
    display: block;
    width: calc(100% - 1em) !important;
    max-width: 330px !important;
    margin: 24px auto;
    padding: 0.5em 0.5em;
    font-family: "lobster";
    font-size: 1.7rem;
    background: linear-gradient(0deg, #1f366a 0%, #1f366a 100%);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

p.bouton a:hover, 
form:not(.secondaire) input[type="submit"]:not(:disabled):hover, 
input[type="button"]:hover, 
a.bouton:hover, 
button.bouton:hover {
    background: linear-gradient(0deg, #1f366a 0%, #03a8e9 100%);
}

p.bouton a.bascule {
    margin-bottom: 50px;
    background: linear-gradient(0deg, #1f366a 0%, #03a8e9 100%);
}

a.bouton.disabled { visibility: hidden; }

button.accept-change {
    display: block;
    width: 100%;
    background: none;
    color: white;
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
    font-family: "Oswald", sans-serif;
    cursor: pointer;
    text-transform: uppercase;
}

button.accept-change:hover { color: rgb(31, 54, 106); }

@media screen and (min-width: 830px) { 
    p.bouton a, form:not(.secondaire) input[type="submit"], a.bouton, input[type="button"], button.bouton { font-size: 1.9rem; }
}

.lien_secondaire, 
p.lien_secondaire > a, 
form.secondaire input[type="submit"], 
#header-vehicule a, 
.ancre {
    display: block;
    text-align: center;
    color: rgb(31, 54, 106);
    text-decoration: underline;
}

.lien_secondaire:hover, 
p.lien_secondaire > a:hover {
    text-decoration: none;
    color: #ffffff !important;
}

/* --- Loader --- */
#loader {
    display: none;
    width: 80px;
    height: 80px;
    position: fixed;
    z-index: 1501;
    left: calc(50% - 40px);
    top: calc(50% - 40px);
}

#loader span {
    position: absolute;
    z-index: 1502;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #2194D3;
    animation: loader 1.2s infinite ease-in-out;
    border: 2px solid white;
}

#loader span:nth-child(1) { left: 8px; animation-delay: -0.4s; }
#loader span:nth-child(2) { left: 32px; animation-delay: -0.2s; }
#loader span:nth-child(3) { left: 56px; animation-delay: 0s; }

@keyframes loader { 
    0% { top: -30px; }
    50% { top: 30px; }
    100% { top: -30px; }
}

/* --- Annonce Sticky --- */
.annonce-sticky {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%); 
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 80%;
}

.annonce-sticky h3 { margin-top: 0; }
.annonce-sticky a { color: #333; text-decoration: none; }
.annonce-sticky .fermer { position: absolute; top: 10px; right: 10px; cursor: pointer; }


/* ==========================================================================
   6. EN-TÊTE & NAVIGATION (HEADER & NAV)
   ========================================================================== */

/* Header Principal */
body.home.desktop #main-header, body.home.mobile.portrait #main-header { padding: 110px 24px 14px 24px; }
#main-header { position: relative; }
#main-header h1 { max-width: 350px; margin: 0 auto; }
#main-header .site-title a { display: block; transition: none; }
#main-header .site-header-content > p { text-transform: uppercase !important; text-align: center; }

body:not(.home) #main-header, 
body.home.landscape.mobile #main-header { margin-bottom: 24px; background: white; }
body.page-template-page_manage_resas #main-header { margin-bottom: 0; }

body:not(.home) #main-header .site-header-content, 
body.home.landscape.mobile #main-header .site-header-content { display: flex; flex-direction: row; align-items: center; }

body:not(.home) #main-header .site-header-content > h1, 
body.home.landscape.mobile #main-header .site-header-content > h1 { width: 33%; max-width: 80px; flex: initial; }

body:not(.home) #main-header .site-header-content > h1 a, 
body.home.landscape.mobile #main-header .site-header-content > h1 a { display: block; padding: 12px 0 6px 24px; }

body:not(.home) #main-header .site-header-content > p, 
body.home.landscape.mobile #main-header .site-header-content > p { padding: 12px 170px 12px 12px; font-size: 1.4rem; flex: auto; color: #505152; text-align: left; }

@media screen and (max-width: 420px) { 
    body:not(.home) #main-header .site-header-content { align-items: left; }
    body:not(.home) #main-header .site-header-content > h1 { margin: 0; }
    body:not(.home) #main-header .site-header-content > p { display: none; }
}

/* Menu Burger & Bouton Connexion */
#burger-menu {
    position: fixed;
    top: 9px;
    right: 12px;
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-image: url("img/burger.svg");
    background-size: auto 100%;
    background-position: left center;
    z-index: 1000;
    cursor: pointer;
    border: 1px solid rgba(91, 92, 93, 0.1);
}

#burger-menu.actif { background-position: right center; }

@media screen and (min-width: 768px) { 
    #burger-menu:not(.actif):hover { background-position: center; } 
}

#connect-button {
    position: fixed;
    top: 9px;
    right: 70px;
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-image: url("img/connect.svg");
    background-size: auto 100%;
    background-position: left center;
    z-index: 1000;
    cursor: pointer;
    border: 1px solid rgba(91, 92, 93, 0.1);
}

#connect-button.actif { background-position: center; }

@media screen and (min-width: 768px) { 
    #connect-button:not(.actif):hover { background-position: center; }
    #connect-button.actif:hover { background-position: right center; }
}

/* Navigation Principale */
#main-navigation {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    visibility: hidden;
    color: white;
    font-family: "Oswald", sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    z-index: 999;
    padding-top: 74px;
    background-color: #1f366a;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center bottom;
    background: radial-gradient(ellipse at top, #03a8e9, #1f366a), radial-gradient(ellipse at bottom, #1f366a, #1f366a);
}

#main-navigation.actif { visibility: visible; right: 0; }
#main-navigation > *, #main-navigation li, #main-navigation div > p { margin-bottom: 12px; }
#menu-menu-principal > li.separateur { margin-top: 40px; border-top: 1px dotted white; padding-top: 36px; }
#main-navigation > div a::before { content: "» "; }
#main-navigation .bt-connexion { margin: 48px 0; }
#main-navigation .bt-connexion a { display: inline-block; border-radius: 6px; padding: 12px 24px; background: #04a6e7; }

@media screen and (min-width: 768px) { 
    #main-navigation { font-size: 2rem; }
}


/* ==========================================================================
   7. CONTENU PRINCIPAL (MAIN CONTENT)
   ========================================================================== */

/* Structure de contenu */
.entry-header { margin: 0 0 24px 0; }
.entry-content, .front-content { max-width: 800px; margin: 0 auto; }
.entry-content > article, #site-content { padding: 24px 16px; }
.front-content { padding-bottom: 48px; }
.front-content > *:not(aside) { padding-left: 24px; padding-right: 24px; }

/* Blocs Gutenberg & Images */
.wp-block-image { margin: 24px auto; text-align: center; }
.wp-block-image img { display: block; margin: 0; width: 100%; height: auto; }
.wp-block-image.lazy { visibility: hidden; opacity: 0; transition: opacity 0.5s ease; }
.wp-block-image.lazy.visible { visibility: visible; opacity: 1; }


/* ==========================================================================
   8. FORMULAIRES (FORMS)
   ========================================================================== */

form { width: 100%; max-width: 650px; }
form:not(.secondaire) { margin: 24px auto; }
form.secondaire { margin: 12px auto 24px auto; }

fieldset { margin: 0 0 6px 0; padding: 0; border: none; width: 100%; }
label { padding: 12px 0 6px 0; display: block; }

form:not(.secondaire) input, textarea { display: block; border: none; width: 100%; max-width: 100%; border-radius: 3px; }

input[type="text"], 
input[type="email"], 
textarea, 
input[type="date"], 
input[type="datetime-local"], 
input[type="tel"], 
input[type="password"], 
select {
    padding: 3px 6px;
    font-size: 1.8rem;
    font-family: "oswald", sans-serif;
    color: #505152;
    border-radius: 3px;
    border: none;
    cursor: text;
}

input[type="submit"], input[type="button"], select, button.bouton { cursor: pointer; }
input[type="submit"]:disabled, #valider-resa:disabled { opacity: 0.3; cursor: default; }

input:read-only { background-color: #bbc7e1; cursor: default; width: 100%; }

/* Formulaire secondaire submit style */
form.secondaire input[type="submit"] { background: none; border: none; font-family: "oswald", sans-serif; letter-spacing: -0.015em; font-size: 1.8rem; margin: 0 auto; }

/* Boutons Radio */
fieldset.bt-radio { display: flex; flex-direction: row; align-items: center; text-align: center; }
fieldset.bt-radio > div { flex: 1; }
fieldset.bt-radio > div > * { display: inline-block; vertical-align: middle; }
fieldset.bt-radio > div > label { text-align: left; margin: 0; padding: 0; }
fieldset.bt-radio > div > input[type="radio"] { width: 30px; height: 30px; margin: -2px 10px 0 0; cursor: pointer; }

h2.preform { margin: 48px 0 !important; }
.wpcf7 { margin: 24px 0; }


@media screen and (min-width: 768px) { 
    .horaires { display: flex; text-align: center; }
    .horaires > fieldset { flex: 1; }
}

/* Container Formulaire Générique */
.container-formulaire { max-width: 650px; margin: 20px auto; }
.container-formulaire form { display: flex; flex-direction: column; }
.container-formulaire label { margin-top: 10px; margin-bottom: 5px; font-weight: bold; }

.container-formulaire input[type="email"],
.container-formulaire input[type="text"],
.container-formulaire textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.container-formulaire textarea { width: 100%; max-width: 100%; min-width: 100%; }

.container-formulaire input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.container-formulaire input[type="submit"]:hover { background-color: #0056b3; }


/* ==========================================================================
   9. VÉHICULES (VEHICLES)
   ========================================================================== */

/* --- Liste des Véhicules --- */
#vehicules { position: relative; }

#vehicules .container-vehicules {
    position: relative;
    text-align: center;
    visibility: collapse;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#vehicules .container-vehicules.visible { visibility: visible; opacity: 1; }

#vehicules .container-vehicules .element, 
#presentation-vehicule .element {
    width: 100%;
    position: relative;
    padding: 0 19px;
}

#vehicules .carroussel .element { width: calc(100% - 38px); }
#vehicules .container-vehicules .element * { cursor: pointer; }

#vehicules .container-vehicules .element .circle, 
#presentation-vehicule .element .circle {
    display: block;
    width: 200px;
    height: 200px;
    background: rgba(249, 197, 183, 0.3);
    transition: all 0.5s ease;
    top: calc(33% - 100px);
    left: calc(50% - 100px);
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(10px);
}

#vehicules .container-vehicules .element:hover .circle { background: rgba(249, 197, 183, 0.6); filter: blur(0); }
#vehicules .container-vehicules.simple .element .circle { top: calc(35% - 52px); }

#vehicules .container-vehicules .element a, 
#presentation-vehicule .element a { display: block; z-index: 2; position: relative; }

#vehicules .container-vehicules .element h1, 
#presentation-vehicule .element h1 {
    font-family: "Lobster", serif;
    font-size: 3rem;
    padding-top: 12px;
    position: relative;
    z-index: 3;
    font-weight: normal;
}

#vehicules .container-vehicules .element figure { max-width: 300px; margin: auto; z-index: 2; position: relative; }
#vehicules .container-vehicules .element figure figcaption, #presentation-vehicule .element figcaption { text-transform: uppercase; }
#vehicules .container-vehicules .element figure figcaption .prix, #presentation-vehicule .element .prix { font-size: 1.5rem; display: block; }

#presentation-vehicule { max-width: 800px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; }
#presentation-vehicule .element { text-align: center; }
#presentation-vehicule .element figure { max-width: 400px; margin: auto; z-index: 2; position: relative; }
#presentation-vehicule > * { flex: 1 1 calc(50% - 10px); box-sizing: border-box; }

@media (max-width: 768px) {    
    #presentation-vehicule { flex-direction: column; }
    #presentation-vehicule > * { flex-basis: 100%; }
}

/* --- Fiche Véhicule (Single) --- */
#single-vehicule > aside { margin-bottom: 48px; padding: 0 24px; }
#single-vehicule > aside > h1, #single-vehicule > aside .p_texte { padding: 0 24px 6px 24px; }

#header-vehicule h1 {
    font-family: "Oswald", sans-serif;
    padding-top: 12px;
    position: relative;
    z-index: 3;
    font-weight: normal;
    margin-bottom: 30px;
    font-size: 2.6rem;
    color: #1f366a;
    text-align: center;
}

#header-vehicule h2 { text-align: center; font-weight: normal; z-index: 2; position: relative; }
#header-vehicule h2 > strong { font-size: 2.4rem; font-weight: bold; }
#header-vehicule h2 .prix { font-size: 1.5rem; display: block; }

.portrait.mobile #header-vehicule h1 > strong { display: block; }

#header-vehicule figure { max-width: 350px; margin: 0 auto; position: relative; }
#header-vehicule figure img { width: 100%; height: auto; position: relative; z-index: 2; }
#header-vehicule figure .circle {
    display: block;
    width: 200px;
    height: 200px;
    background: rgba(249, 197, 183, 0.3);
    top: calc(35% - 100px);
    left: calc(50% - 100px);
    position: absolute;
    z-index: 1;
    border-radius: 50%;
}

#footer-vehicule { margin-bottom: 48px; }
#footer-vehicule > header { margin-bottom: 12px; }
#footer-vehicule > header > h1 { margin-bottom: 24px; }

.photo-vehicule { margin-bottom: 48px; z-index: 1; }
.photo-vehicule img { display: block; margin: 0; }

.single-vehicule .entry-content ul { padding-left: 20px; margin-top: 15px; }
.single-vehicule .entry-content li { list-style-type: disc; padding-left: 5px; margin-left: 5px; }
.single-vehicule .entry-content .bouton { margin: 24px 0; }

@media (max-width: 768px) {    
    .single-vehicule .entry-content .bouton { margin: inherit; }
}

/* --- Popin Véhicules --- */
#popin_vehicules {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; 
    z-index: 1500;
    overflow-y: auto;
}

#popin_liste_vehicules {
    max-width: 500px;
    background-color: #f76965;
    margin: 0 auto;
    height: auto;
    overflow-y: auto;
}

#popin_liste_vehicules > li { display: none; position: relative; padding: 40px 30px; }  

#popin_liste_vehicules > li .close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px;
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    color: white;
    cursor: pointer;
    background-color: transparent;
}

#popin_liste_vehicules > li .close-button:hover { color: #1f366a; }

/* --- Selecteur Lieu --- */
#selecteur-lieu { margin-bottom: 0px; }
.liste-lieux { width: 100%; max-width: 300px; display: flex; flex-wrap: nowrap; gap: 10px; margin: 0 auto; padding: 0; }
.liste-lieux a { display: block; }
.liste-lieux img { display: block; width: 100%; height: auto; margin: 0; }

.liste-lieux > li {
    flex: 50% 1 1;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid rgba(255,255,255,0);
    transition: all .5s;
    cursor: pointer !important;
}

.liste-lieux > li figure {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.liste-lieux > li figure figcaption {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 1em 0;
    background: linear-gradient(0deg, rgba(3,168,233,0) 0%, rgba(3,168,233,1) 100%);
    transition: all 1s;
    cursor: pointer;
}

.liste-lieux > li figure figcaption span { font-size: 1.8em; font-family: "Lobster"; transition: all .5s; cursor: pointer; }
.liste-lieux > li:hover { border-color: rgba(255,255,255,1); }
.liste-lieux > li:hover figcaption { height: 100%; background: linear-gradient(0deg, rgba(3,168,233,0.9) 0%, rgba(3,168,233,0.9) 100%); } 


/* ==========================================================================
   10. ESPACE CLIENT & RÉSERVATIONS (CLIENT AREA)
   ========================================================================== */

#page-client { padding: 48px 24px; }
#page-client > header { margin-bottom: 48px; }
#page-client > header h1 { margin-bottom: 12px; }
#page-client h2.aside { border-top: 1px dotted rgba(249, 197, 183, 0.3); padding-top: 24px; margin-top: 24px; }

#single-resa { margin-bottom: 48px; }
#single-resa h2 { margin-top: 36px; margin-bottom: 12px; font-size: 2.2rem; text-align: center; color: #1f366a; }
#single-resa .entry-header p { font-size: 1.4rem; text-align: center; }
#single-resa .duree_location, #single-resa .lieu_location { display: flex; flex-direction: row; width: 100%; margin-bottom: 6px; }
#single-resa .duree_location > strong, #single-resa .lieu_location > strong { width: 75px; }
#single-resa .duree_location > span, #single-resa .lieu_location > span { flex: auto; text-align: left; }

.liste-dates { margin: 6px 0; text-align: center; }
.liste-dates li { display: inline-block; padding: 3px 6px; font-size: 1.3rem; background-color: rgb(31, 54, 106); margin: 3px; }

/* Liste des Réservations */
.liste-resas { margin: 24px auto 48px auto !important; max-width: 960px; }
.liste-resas > li { margin: 0 0 20px 0 !important; padding: 0 !important; list-style-type: none !important; border-left: 6px solid #1f366a; }
.liste-resas > li.paiement-effectue { border-left-color: white; }
.liste-resas > li.probleme-paiement-cb { border-left-color: red; }
.liste-resas > li.resa-annulee { opacity: 0.5; }
.liste-resas .options > span.valeur span { display: block; }

.liste-resas > li > .container_resa > .container1 > * { padding: 6px 6px 6px 12px; }
.liste-resas > li > .container_resa > .container1 > *:nth-child(even) { background-color: rgba(31, 54, 106, 0.1); }
.liste-resas > li > .container_resa > .container1 > *:nth-child(odd) { background-color: rgba(31, 54, 106, 0.05); }
.liste-resas > li > .container_resa > .container1 > p .valeur, 
.liste-resas > li > .container_resa > .container1 > p .valeur > a { color: #1f366a; }
.liste-resas > li > .container_resa > .container1 > p { margin: 0; }

.mobile .liste-resas > li > .container_resa > .container1 > p > * { display: block; }
.mobile .liste-resas > li .container1 { margin-bottom: 24px; }

@media screen and (min-width: 768px) {
    .liste-resas > li > .container_resa > .container1 > p { display: flex; }
    .liste-resas > li > .container_resa > .container1 > p .libelle { width: 120px; }
    .liste-resas > li > .container_resa { display: flex; flex-direction: row; align-items: top; }
    .liste-resas > li > .container_resa > .container1 { flex: 1; }
    .liste-resas > li > .container_resa > aside { width: 36%; padding: 0; min-height: 100%; }
    .liste-resas > li > .container_resa.reduce > aside { border-radius: 0 0 3px 0; }
}

.liste-resas > li > .container_resa > aside { padding: 0; background: #1f366a; }
.liste-resas > li > .container_resa > aside article { padding: 12px; }
.liste-resas > li > .container_resa > aside h1 { font-weight: normal; }
.liste-resas > li > .container_resa > aside article > div { font-size: 1.4rem; }
.liste-resas > li > .container_resa > aside input[type="button"], 
.liste-resas > li > .container_resa > aside input[type="submit"] { border: 1px solid rgba(249, 197, 183, 0.3); }

.liste-resas > li.paiement-effectue > .container_resa > aside { background: #ffffff; color: #1f366a; }
.liste-resas > li > .container_resa.reduce { display: none; }

/* Barre Infos Resa */
.barre-infos { background: #1f366a; position: relative; }
.type_3 .barre-infos .debut, .type_6 .barre-infos .debut { font-weight: bold; }

.barre-infos > p.client { display: flex; flex-wrap: nowrap; justify-content: flex-start; flex-direction: row; gap: 5px; align-items: center; }
.barre-infos > p.client > * { display: block; }
.barre-infos > p.client > .drapo { width: 16px; height: 12px; background-size: contain; background-position: center; box-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

@media screen and (max-width: 767px) {
    .barre-infos { padding: 6px 74px 6px 6px; }
}

@media screen and (min-width: 768px) {
    .barre-infos { display: flex; flex-direction: row; align-items: center; width: 100%; height: 30px; justify-content: space-between; gap: 10px; }
    .barre-infos > figure { flex-basis: 40px; }
    .barre-infos > p { font-size: 0.8em; }
    .barre-infos > p.num-resa { flex-basis: 140px; }
    .barre-infos > p.client { flex: 1; }
    .barre-infos > p.debut { flex-basis: 205px; text-align: right; padding-right: 10px; }
}

/* Popin Resa Détails */
#container-resa-popins {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(12,32,79,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#container-resa-popins.active { display: flex; }

#container-resa-popins > div {
    flex: auto;
    max-width: 800px;
    padding: 40px 20px;
    background-color: #F76965;
    position: relative;
    max-height: 100%;
    overflow-y: auto;
}

#container-resa-popins > div #close { position: absolute; top: 0; right: 0; padding: 10px; color: #1f366a; }
#container-resa-popins > div > ul > li { display: none; }
#container-resa-popins > div > ul > li.active { display: block; }

/* Éléments de prix & Paiement */
figure.vignette {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgba(249, 197, 183, 0.3);
    padding: 6px;
    margin: 0 0 24px 0 !important;
    border-radius: 3px;
}

figure.vignette img { width: 33%; max-width: 200px; flex: initial; }
figure.vignette figcaption { padding: 0 24px; color: rgb(31, 54, 106); font-size: 2.1rem; }
figure.vignette figcaption span { display: block; margin-top: 3px; font-size: 1.2rem; font-weight: bold; }

.prix_total { text-align: center; font-size: 2.2rem; font-weight: bold; }
.prix_total > span { color: rgb(31, 54, 106); }

.liste_coches { margin: 0; padding: 0; max-width: 400px; }
.liste_coches li { list-style-type: none !important; margin: 0 0 3px 0 !important; padding: 0 !important; display: flex; flex-direction: row; align-items: top; }
.liste_coches li span.libelle { flex: 1; border-left: 3px white solid; padding: 6px 0 0 6px; }
.liste_coches li span.cout { flex: initial; width: 100px; padding: 6px 12px 3px 0; text-align: right; }
.liste_coches li span.coche { flex: initial; width: 40px; height: 40px; background-color: rgba(249, 197, 183, 0.3); border-radius: 3px; cursor: pointer; }

.desktop .liste_coches li:hover { color: rgb(31, 54, 106); }
.desktop .liste_coches li span.coche:hover { background-color: white; }
.liste_coches li.actif span.coche { background-color: rgb(31, 54, 106); }

#paiement { margin: 24px 0; }
#container-paiement > article { display: none; margin: 24px 0; background-color: rgba(249, 197, 183, 0.3); padding: 12px 24px; }
#container-paiement > article.actif { display: block; }
#container-paiement > article p { color: rgb(31, 54, 106); }

.annuler-cb { display: inline-block; padding: 1em; font-size: 1.5em; color: #1f366a; cursor: pointer; font-family: "Lobster"; }
.annuler-cb:hover { color: #03a8e9; }

.liste-cb { margin-top: 10px; }
.liste-cb li { display: inline-block; vertical-align: middle; background: white; padding: 4px; border-radius: 4px; margin-right: 4px; margin-bottom: 8px; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); }
.liste-cb li img { cursor: help; }

.statut_cb { text-align: center; padding: 0.25em 0.5em; background: rgb(3, 168, 233); border-radius: 4px; margin-top: 20px !important; color: white !important; }


/* ==========================================================================
   11. CALENDRIER & PLANNING (CALENDAR)
   ========================================================================== */

#calendar { position: relative; }

#calendar #encart-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 74.58px;
    background: #ea6460;
    z-index: 10;
    display: flex;
    flex-wrap: no-wrap;
    overflow: hidden;
}

#calendar #encart-info > ul { flex: 1; padding: 0.25em 0.25em 0.5em 0.25em; visibility: collapse; }
#calendar #encart-info:hover { overflow: auto; }
#calendar #encart-info:hover > ul { visibility: visible; }
#calendar #encart-info > ul > li { margin-bottom: 0.25em; font-size: 10px; }
#calendar #encart-info > ul > li > span { display: inline-block; margin-right: 3px; width: 1em; height: 1em; background-color: white; border-radius: 0.5em; position: relative; top: 1px; }

#container-calendar {
    overflow: auto;
    white-space: nowrap;
    min-height: 500px;
    display: grid;
    grid-template-columns: 100px 1fr;
}

#container-calendar > table#ligne1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: #F76965;
    box-shadow: 0 6px 6px rgba(0,0,0,0.2);
}

#container-calendar > table#colonne1 {
    grid-column: 1;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(200,84,82,0.8);
    box-shadow: 6px 6px 6px rgba(0,0,0,0.2);
}

#container-calendar > table#main-calendar { grid-column: 2; }

#colonne1 td.survol, #ligne1 th.survol { background: white; color: #1f366a; }

.calendar-view { border-collapse: collapse; letter-spacing: 0; font-size: 12px; letter-spacing: 1; }  
.calendar-view tbody tr { height: 42px; } 
.calendar-view tbody tr.next-modele:not(:first-child) { border-top: 2px solid rgba(0,0,0,.2); } 

.calendar-view tbody tr:hover, #main-calendar td.survol { background: rgba(255,255,255,0.3); }
.calendar-view tr:nth-child(even), #ligne1 thead tr:first-child th:nth-child(odd), .calendar-view td.jour-pair { background-color: rgba(0,0,0,0.05); } 
.calendar-view th.jour-pair, .calendar-view td.dim { background-color: rgba(0,0,0,0.1); } 
.calendar-view th.dim { background-color: rgba(0,0,0,0.15); } 

#container-calendar table thead tr:first-child { font-size: 1.5em; }
.calendar-view td { text-align: center; }
.calendar-view td.colonne1, .calendar-view th.colonne1 { font-weight: bold; width: 100px; } 
.calendar-view td:not(.colonne1), .calendar-view th:not(.colonne1) { width: 42px; max-width: 42px; overflow: hidden; }  

.calendar-view .vehicule a { display: flex; height: auto; }
.calendar-view .vehicule, .calendar-view thead th { padding: 5px; }
.calendar-view .vehicule figure { display: flex; flex-wrap: nowrap; align-items: center; gap: 3px; justify-items: left; }
.calendar-view .vehicule figure img { width: 40px; }
.calendar-view .vehicule figure figcaption { flex: 1; }

.cellule-resa { display: flex; flex-wrap: wrap; flex-direction: column; height: 42px; overflow: hidden; position: relative; }
.cellule-resa > * { flex: 1; }
.cellule-resa .barre-resa { z-index: 1; width: 100%; }
.cellule-resa *:not(.type_8) span { cursor: pointer; }
.cellule-resa *.type_8 { cursor: default; }
.cellule-resa *:not(.type_0) { min-height: 14px; max-height: 15px; overflow: hidden; }

.cellule-resa .barre-resa { cursor: help; }
.cellule-resa .barre-resa span { display: block; font-family: "Roboto Mono", sans-serif; font-size: 9px; font-weight: 600; line-height: 1; padding: 3px 0 2px 0; color: white; cursor: help; } 
.cellule-resa .barre-resa span.end { background-image: linear-gradient(to right, rgba(0,0,0,0) 50%, red 100%); } 
.cellule-resa .barre-resa span.start { background-image: linear-gradient(to left, rgba(0,0,0,0) 50%, green 100%); }
.cellule-resa .barre-resa span.start-end { background-image: linear-gradient(to right,green 0%, rgba(0,0,0,0) 50%, red 100%); }

.cellule-resa a.type_0:hover, 
.calendar-view .cellule-resa a.type_9:hover, 
#calendar #encart-info > ul > li > span.type_9 { background-color: rgba(255,255,255,0.9); }  

.cellule-resa .barre-resa.type_1, #calendar #encart-info > ul > li > span.type_1 { background-color: #1f366a; }
.cellule-resa .barre-resa.type_2, .type_2 .barre-infos, #calendar #encart-info > ul > li > span.type_2 { background-color: #3399FF; }
.cellule-resa .barre-resa.type_3, .type_3 .barre-infos, #calendar #encart-info > ul > li > span.type_3 { background-color: green; }
.cellule-resa .barre-resa.type_4, .type_4 .barre-infos, #calendar #encart-info > ul > li > span.type_4 { background-color: #0c204f; }
.cellule-resa .barre-resa.type_5, .type_5 .barre-infos, #calendar #encart-info > ul > li > span.type_5 { background-color: #FC0; } 
.cellule-resa .barre-resa.type_5 span { color: #0c204f; }
.cellule-resa .barre-resa.type_6, .type_6 .barre-infos, #calendar #encart-info > ul > li > span.type_6 { background-color: red; }
.cellule-resa a.type_7, #calendar #encart-info > ul > li > span.type_7 { background-color: #1f366a; }

.cellule-resa a.type_9 { position: absolute; display: block; width: 100%; height: 100%; min-height: 100%; top: 0; left: 0; z-index: 0; }
.cellule-resa a.type_9:hover { background-image: url("img/calendar.svg"); background-position: center; background-repeat: no-repeat; background-size: 20px 20px; z-index: 2 !important; }

.cellule-resa .barre-resa.payed_ok, #calendar #encart-info > ul > li > span.payed_ok { background-image: url("img/pattern.svg"); background-repeat: repeat; background-size: 14px 14px; background-attachment: fixed; }
#calendar #encart-info > ul > li > span.payed_ok { background-color: #1f366a; } 
.cellule-resa .barre-resa.payed_ko, #calendar #encart-info > ul > li > span.payed_ko { background-image: url("img/pattern.svg"); background-repeat: repeat; background-size: 14px 14px; background-attachment: fixed; background-color: #FF33FF !important; } 

.cellule-resa .barre-resa.survol { background-color: #0F0 !important; }	
.cellule-resa .barre-resa.survol span { background-image: none; color: #1f366a; }

.selected { background-color: #f0f0f0 !important; }


/* ==========================================================================
   12. PIED DE PAGE (FOOTER)
   ========================================================================== */

#main-footer { padding: 24px 24px 48px 24px; }
#main-footer nav a { display: inline-block; padding: 3px 6px; border-radius: 3px; }
#main-footer nav a:hover { background: rgba(255, 255, 255, 0.3); }
#main-footer .footer-wrap { margin-bottom: 48px; }
.footer-copyright { text-align: right; font-size: 1.3rem; }

@media screen and (min-width: 648px) { 
    #main-footer .footer-wrap { display: flex; flex-direction: row; max-width: 764px; margin: 0 auto 48px auto; flex-wrap: wrap; }
    #main-footer .footer-wrap > * { width: 50%; }
    #main-footer .footer-wrap > hr { display: none; }
    #main-footer .footer-wrap:last-child { align-items: center; }
}

.donnees_legales > section { font-size: 1.4rem; }

.reseaux-sociaux, .reseaux-sociaux ul { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; }
.reseaux-sociaux ul li { margin: 0 0 0 6px; }
.reseaux-sociaux ul li a { display: block; width: 32px; height: 32px; border: 1px solid white; border-radius: 50%; cursor: pointer !important; }
.reseaux-sociaux ul li a:hover { background-color: rgba(3, 168, 233, 0.5); border-color: rgba(3, 168, 233, 0.2); }

.footer-menu .current-menu-item > a { background-color: rgba(3, 168, 233, 0.5); }
.footer-menu li.separateur { margin-top: 20px; }
.footer-menu li.separateur a { display: inline-block !important; padding-top: 20px !important; border-top: 1px dotted white; }


/* ==========================================================================
   13. ADMINISTRATION & GESTION (BACK-OFFICE)
   ========================================================================== */

/* Filtres */
.bt-filtre { background: buttonface; margin: 5px 0; padding: 7px 15px; color: black; font-size: 1.2em; }  
.bt-filtre:hover { background: black; color: white; }
.bt-filtre.actif { background: #1B7BB7; color: white; }

#filters { background: rgba(255,255,255,0.1); padding: 5px 15px; display: flex; flex-direction: row; flex-wrap: no-wrap; align-items: center; justify-content: end; gap: 5px; line-height: 1em; font-size: 12px; } 
#filters > * { flex: 0 1 auto; } 

#filters button { display: flex; align-items: center; padding: 5px; height: 100%; } 
#filters button, #filters button * { cursor: pointer; line-height: 1; }
#filters button:hover { background: black; } 
#filters button:hover > * { color: white; }

.filter fieldset { display: flex; align-items: center; background-color: #F0F0F0; } 
.filter.active fieldset, .filter.active fieldset button { background-color: #1E86C3; }
.filter.active fieldset button > * { color: white; } 

#filters form.registered-filters, #filters form.registered-filters fieldset { margin: 0; }

#form-filters { width: 100%; max-width: 100%; }
#form-filters > fieldset { display: flex; flex-wrap: wrap; }
#form-filters > fieldset > fieldset { flex: 1; padding: 10px; min-width: 0; }
#form-filters label { display: block; padding: 10px; cursor: pointer; }
#form-filters label:hover { background-color: rgba(255,255,255,0.25); } 
#form-filters label * { display: inline-block; vertical-align: middle; width: auto; cursor: pointer; }

#container-registered-filters { max-width: 250px; }
#container-registered-filters form.registered-filters { margin: 0 !important; padding: 0; }
#container-registered-filters form.registered-filters fieldset { margin: 0; display: flex; flex-wrap: no-wrap; }
#container-registered-filters .registered-filters button { cursor: pointer; text-align: center; font-size: 12px; margin: 0; line-height: 1; }
#container-registered-filters .registered-filters button:first-child { flex-basis: 95px; padding: 5px 10px; }
#container-registered-filters .registered-filters button:not:first-child { padding: 5px; flex: 1; }
#container-registered-filters .registered-filters button:hover { background: white; }
#container-registered-filters li.active .registered-filters button { background: black; color: white; }

.material-symbols-outlined { font-size: 16px !important; color: black; cursor: pointer; }
#container-registered-filters li.active .material-symbols-outlined { color: white; }

/* Onglets */
.tabs { border-bottom: 1px solid rgba(255,255,255,0.25); text-align: center; }
.tab { cursor: pointer; padding: 10px; border: none; outline: none; background-color: inherit; border-bottom: 3px solid transparent; font-family: "Oswald", sans-serif; color: #fff; font-size: 1.8rem; letter-spacing: -0.015em; border-bottom: 3px solid WHITE; }
.tab-content { padding: 0; position: relative; }

/* Formulaire Modifer (Admin) */
#form-modifier .deux-cols, #form-modifier .trois-cols { display: flex; flex-direction: row; gap: 15px; }
#form-modifier .deux-cols > *, #form-modifier .trois-cols > * { flex: 1; } 
#form-modifier .deux-cols.tiers > *:first-child { flex-basis: 37%; }   

#form-modifier input, #form-modifier select { width: 100%; }

#form-modifier .option { display: flex; flex-direction: row; gap: 5px; width: 100%; justify-content: flex-start; }
#form-modifier .option > label { flex: 1 1 auto; color: rgb(31, 54, 106); }
#form-modifier .option > input[type="checkbox"] { flex-basis: 20px; margin-top: 9px; }
#form-modifier .option > input[type="checkbox"]:checked + label { font-weight: bold; }

#form-modifier #nouveau-prix > div { display: none; margin-bottom: 14px; }
#form-modifier #nouveau-prix.visible > div { display: block; }
#form-modifier #form-footer { align-items: flex-end; }
#form-modifier fieldset.inactive { display: none; }

/* Tableaux de réductions */
#table-reductions { width: 100%; border-collapse: collapse; border: none; }
#table-reductions td { width: calc(100% / 30); padding: 4px; text-align: center; font-size: 11px; color: white; }
#table-reductions td:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.5); }

#table-reductions td.jour { background-color: rgba(31, 54, 106, 0.5); }
#table-reductions td.jour.palier { background-color: rgba(31, 54, 106, 0.75); }
#table-reductions td.jour.active { background-color: #1B7DB9; }

#table-reductions td.reduction { background-color: rgba(31, 54, 106, 0.25); }
#table-reductions td.reduction.palier { background-color: rgba(31, 54, 106, 0.5); }
#table-reductions td.reduction.active { background-color: #1B7DB9; } 

#table-reductions td.jour.palier_atteint, #table-reductions td.reduction.palier_atteint { background-color: #FC0; color: rgb(31, 54, 106); }
#table-reductions td.reduction.palier_atteint { font-weight: bold; }

.reduction { background: rgba(249, 197, 183, 0.3); padding: 0.5em 0.75em; font-size: 0.8em; margin-top: 1.5em; margin-bottom: 1.5em; color: rgb(31, 54, 106); }
.reduction > * { display: inline-block; vertical-align: top; }
.reduction > figure { width: 70px; padding-right: 0.5em; }

/* Logs */
.logs { margin-top: 30px; padding: 12px; }
.logs h2 { margin-bottom: 10px; }
.logs li { font-size: 0.8em; padding: 6px; color: #1F366A; }
.logs li:hover { color: white; }
.logs li:nth-child(odd) { background: rgba(0,0,0,.05); }

/* Infos debug / divers */
#infos { display: none; }
@media screen and (min-width: 768px) {
    #infos { display: block; position: fixed; bottom: 0; right: 0; background: rgba(0, 0, 0, 0.8); color: white; font-size: 12px; padding: 6px; display: block; max-width: 200px; z-index: 200; font-family: "Courier New", Courier, monospace; overflow: scroll; max-height: 100%; }
}

.ina-modal-inside p, .ina-modal-inside h2 { color: black; }
.slick-next { right: -15px !important; }
#cmplz-cookies-overview *, .cmplz-manage-consent-container * { color: #1F366A; }

/* ==========================================================================
   MODERNISATION FORMULAIRE DATES (Centré, Blanc, 100% Compatible)
   ========================================================================== */

/* 1. Conteneur Principal */
form#saisie_dates {
    /* Flexbox avec préfixes pour compatibilité (iOS 8+, Android 4.4+, IE11) */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    /* Centrage */
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    /* Design */
    max-width: 960px;
    margin: 40px auto;
    
    /* Suppression du fond gris et des ombres */
    background-color: transparent; 
    padding: 0; 
    box-shadow: none;
    border: none;
    
    /* Gestion des espacements SANS 'gap' (Pour compatibilité Safari <14) */
    width: auto;
    margin-left: -15px; /* Marge négative pour compenser le padding des colonnes */
    margin-right: -15px;
    
    font-family: inherit; 
    font-size: inherit;
    box-sizing: border-box;
}

/* 2. Gestion des Colonnes */
#saisie_dates fieldset.colonne {
    /* Flex: grow shrink basis */
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 45%;
    -ms-flex: 1 1 45%;
    flex: 1 1 45%;
    
    min-width: 280px;
    
    /* Reset Fieldset */
    border: none;
    margin: 0;
    padding: 0; /* Reset */
    
    /* Simulation du gap via padding latéral */
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Espace vertical entre lignes si wrap */
    
    /* Flex vertical interne */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Espacement vertical manuel entre les items dans une colonne */
#saisie_dates fieldset.colonne > fieldset.item:first-child {
    margin-bottom: 15px;
}

/* 3. Items */
#saisie_dates fieldset.item {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0; /* Fix pour Firefox */
}

/* 4. Labels (En BLANC) */
#saisie_dates label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4); /* Ombre un peu plus forte pour lisibilité */
}

/* 5. Champs de saisie */
#saisie_dates input[type="text"],
#saisie_dates input[type="date"],
#saisie_dates select {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    margin: 0;
    
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    
    font-family: inherit;
    color: #333;
    
    /* Reset style natif (Crucial pour iOS) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#saisie_dates input:focus,
#saisie_dates select:focus {
    border-color: #1f366a;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    outline: none;
}

/* 6. Ligne des Heures */
#saisie_dates fieldset.item.item2 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#saisie_dates fieldset.item.item2 label {
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    width: 100%;
}

#saisie_dates fieldset.item.item2 select {
    width: 48%; /* Sécurité au lieu de calc() pour vieux navigateurs */
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 768px) {
    form#saisie_dates {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        
        width: 100%;
        margin: 20px 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0 15px;
    }
    
    #saisie_dates fieldset.colonne {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
        
        -webkit-flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }
    
    #saisie_dates input[type="submit"] {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}