/* ============================================================
   dashboard.css — Styles dashboard worker (vanilla Bootstrap replacement)
   Chargé via css/**\/*.css par gulp bundle:css
   ============================================================ */

/* ------------------------------------------------------------
   0. DASHBOARD SHELL — hauteur minimale pour éviter l'effondrement
   ------------------------------------------------------------ */
#Dashboard.page-container,
#Dashboard .page-container {
    min-height: 60vh;
}

.dashboard-wrapper {
    min-height: 50vh;
    padding: 20px;
}

.dashboard-entreprise-selector {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-entreprise-selector select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dashboard-nav-item:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.dashboard-nav-item.active {
    background: var(--Color1, #74c5c3);
    color: white;
}

.dashboard-nav-item.active:hover {
    opacity: 0.9;
}

.dashboard-error-state {
    display: flex;
    align-items: flex-start;
    min-height: 50vh;
}

/* ------------------------------------------------------------
   1. LAYOUT — Panel cards
   ------------------------------------------------------------ */
.dm-panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 16px;
}

.dm-panel-header {
    padding: 10px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.dm-panel-body {
    padding: 15px;
    min-height: 20px;
}

.dm-panel-footer {
    padding: 10px 15px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
}

/* ------------------------------------------------------------
   2. GRID
   ------------------------------------------------------------ */
.dm-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7px;
}

.dm-col-2 {
    flex: 0 0 16.66%;
    max-width: 16.66%;
    padding: 0 7px;
    box-sizing: border-box;
}

.dm-col-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 7px;
    box-sizing: border-box;
}

.dm-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 7px;
    box-sizing: border-box;
}

.dm-col-8 {
    flex: 0 0 66.66%;
    max-width: 66.66%;
    padding: 0 7px;
    box-sizing: border-box;
}

/* ------------------------------------------------------------
   3. FORMULAIRES
   ------------------------------------------------------------ */
.dm-input {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    line-height: 1.42857;
}

.dm-input:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 0 2px rgba(102, 175, 233, 0.3);
}

.dm-input-group {
    display: inline-flex;
    align-items: stretch;
    width: 100%;
}

.dm-input-group .dm-input {
    flex: 1;
    border-radius: 4px 0 0 4px;
}

.dm-input-group-btn {
    display: flex;
    align-items: center;
}

.dm-input-group-btn button,
.dm-input-group-btn .btn {
    border-radius: 0 4px 4px 0;
}

/* ------------------------------------------------------------
   4. BOUTONS — uniquement les absents de multivitrines.css
   .btn-primary est déjà défini dans multivitrines.css, ne pas dupliquer
   ------------------------------------------------------------ */

/* .btn base — absent de multivitrines.css */
.btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #e8e8e8;
    color: #333;
    text-decoration: none;
    box-sizing: border-box;
}
.btn:hover {
    opacity: 0.85;
}

/* .btn-sm absent de multivitrines.css */
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* .btn-success absent de multivitrines.css */
.btn-success {
    background-color: #5cb85c;
    color: #fff;
    border: 1px solid #4cae4c;
    border-radius: 4px;
    cursor: pointer;
}

.btn-success:hover {
    background-color: #449d44;
    border-color: #398439;
}

/* Groupe de boutons — toujours ajouté */
.dm-btn-group {
    display: inline-flex;
    gap: 4px;
}

/* ------------------------------------------------------------
   5. ALERTES
   ------------------------------------------------------------ */
.dm-alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.dm-alert-danger {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.dm-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ------------------------------------------------------------
   6. ELEMENTS UI
   ------------------------------------------------------------ */

/* Info box */
.dm-info-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 10px;
    text-align: center;
}

/* Description list en grille */
.dm-dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 4px 12px;
    margin: 0;
}

.dm-dl dt {
    font-weight: bold;
}

.dm-dl dd {
    margin: 0;
}

/* Badges */
.dm-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.dm-badge-success {
    background-color: #28a745;
}

.dm-badge-warning {
    background-color: #ffc107;
    color: #333;
}

.dm-badge-info {
    background-color: #17a2b8;
}

.dm-badge-danger {
    background-color: #dc3545;
}

.dm-badge-default {
    background-color: #6c757d;
}

/* Légende point coloré */
.dm-legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    vertical-align: middle;
}

/* Liste sans puce */
.dm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dm-list-item {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.dm-list-item:last-child {
    border-bottom: none;
}

/* Texte atténué */
.dm-muted {
    color: #6c757d;
}

/* ------------------------------------------------------------
   7. TABS
   ------------------------------------------------------------ */
.dm-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 -1px 0;
    border-bottom: 1px solid #ddd;
}

.dm-tabs li {
    margin-right: 2px;
}

.dm-tabs li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: #555;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.dm-tabs li.active a {
    background: #fff;
    border-color: #ddd #ddd #fff;
    color: #333;
}

.dm-tabs li a:hover {
    background: #f5f5f5;
    color: #333;
}

.dm-tab-content {
    padding-top: 15px;
}

.dm-tabpane {
    display: none;
}

.dm-tabpane.active {
    display: block;
}

/* ------------------------------------------------------------
   8. MODAL — compléments uniquement (base dans multivitrines.css)
   ------------------------------------------------------------ */

/* Largeur étendue pour la modal locker */
#lockerModal .modal-dialog {
    max-width: 900px;
}

/* Z-index surélevé pour la modal de confirmation */
#confirmModal {
    z-index: 1060;
}

#confirmModal .modal-dialog {
    max-width: 400px;
}

/* Bouton fermeture générique */
.dm-modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    float: right;
    line-height: 1;
    color: inherit;
}

/* ------------------------------------------------------------
   9. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 767px) {
    .dm-col-2,
    .dm-col-4,
    .dm-col-6,
    .dm-col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #machineInfoPanel {
        display: none !important;
    }

    .dashboard-nav-label {
        display: none;
    }
}

/* FontAwesome 6 Free — subset self-hosted */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fa-solid-900.woff2") format("woff2"),
       url("../fonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-regular-400.woff2") format("woff2"),
       url("../fonts/fa-regular-400.ttf") format("truetype");
}

.fa, .fas, .fa-solid, .far, .fa-regular {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fas, .fa-solid {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.far, .fa-regular {
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }

@keyframes fa-spin {
  0% { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.fa-spin { animation: fa-spin 2s infinite linear; }


.fa-arrow-left::before { content: "\f060"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-arrow-rotate-right::before { content: "\f01e"; }
.fa-ban::before { content: "\f05e"; }
.fa-bars::before { content: "\f0c9"; }
.fa-bookmark::before { content: "\f02e"; }
.fa-box::before { content: "\f466"; }
.fa-box-open::before { content: "\f49e"; }
.fa-calculator::before { content: "\f1ec"; }
.fa-calendar::before { content: "\f133"; }
.fa-calendar-check::before { content: "\f274"; }
.fa-calendar-days::before { content: "\f073"; }
.fa-calendar-plus::before { content: "\f271"; }
.fa-caret-down::before { content: "\f0d7"; }
.fa-check::before { content: "\f00c"; }
.fa-check-circle::before { content: "\f058"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-chevron-left::before { content: "\f053"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-circle-check::before { content: "\f058"; }
.fa-circle-info::before { content: "\f05a"; }
.fa-circle-xmark::before { content: "\f057"; }
.fa-clock::before { content: "\f017"; }
.fa-comments::before { content: "\f086"; }
.fa-credit-card::before { content: "\f09d"; }
.fa-cube::before { content: "\f1b2"; }
.fa-door-closed::before { content: "\f52a"; }
.fa-door-open::before { content: "\f52b"; }
.fa-download::before { content: "\f019"; }
.fa-edit::before { content: "\f044"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-eraser::before { content: "\f12d"; }
.fa-exchange-alt::before { content: "\f362"; }
.fa-exclamation::before { content: "\21"; }
.fa-exclamation-triangle::before { content: "\f071"; }
.fa-eye::before { content: "\f06e"; }
.fa-eye-slash::before { content: "\f070"; }
.fa-filter::before { content: "\f0b0"; }
.fa-flag::before { content: "\f024"; }
.fa-gauge-high::before { content: "\f625"; }
.fa-gift::before { content: "\f06b"; }
.fa-globe::before { content: "\f0ac"; }
.fa-headset::before { content: "\f590"; }
.fa-heart::before { content: "\f004"; }
.fa-home::before { content: "\f015"; }
.fa-image::before { content: "\f03e"; }
.fa-info-circle::before { content: "\f05a"; }
.fa-level-down-alt::before { content: "\f3be"; }
.fa-level-up-alt::before { content: "\f3bf"; }
.fa-list::before { content: "\f03a"; }
.fa-location-arrow::before { content: "\f124"; }
.fa-location-dot::before { content: "\f3c5"; }
.fa-lock::before { content: "\f023"; }
.fa-lock-open::before { content: "\f3c1"; }
.fa-map::before { content: "\f279"; }
.fa-map-location-dot::before { content: "\f5a0"; }
.fa-map-marked-alt::before { content: "\f5a0"; }
.fa-map-marker-alt::before { content: "\f3c5"; }
.fa-moon::before { content: "\f186"; }
.fa-paperclip::before { content: "\f0c6"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-pencil::before { content: "\f303"; }
.fa-phone::before { content: "\f095"; }
.fa-plug::before { content: "\f1e6"; }
.fa-plus::before { content: "\2b"; }
.fa-qrcode::before { content: "\f029"; }
.fa-question-circle::before { content: "\f059"; }
.fa-rotate-right::before { content: "\f2f9"; }
.fa-save::before { content: "\f0c7"; }
.fa-search::before { content: "\f002"; }
.fa-server::before { content: "\f233"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-shopping-basket::before { content: "\f291"; }
.fa-sign-in::before { content: "\f090"; }
.fa-sign-out-alt::before { content: "\f2f5"; }
.fa-snowflake::before { content: "\f2dc"; }
.fa-spinner::before { content: "\f110"; }
.fa-star::before { content: "\f005"; }
.fa-street-view::before { content: "\f21d"; }
.fa-suitcase::before { content: "\f0f2"; }
.fa-sun::before { content: "\f185"; }
.fa-sync::before { content: "\f021"; }
.fa-sync-alt::before { content: "\f2f1"; }
.fa-table-cells::before { content: "\f00a"; }
.fa-thermometer-half::before { content: "\f2c9"; }
.fa-times::before { content: "\f00d"; }
.fa-times-circle::before { content: "\f057"; }
.fa-trash::before { content: "\f1f8"; }
.fa-trash-can::before { content: "\f2ed"; }
.fa-triangle-exclamation::before { content: "\f071"; }
.fa-shirt::before { content: "\f553"; }
.fa-user::before { content: "\f007"; }
.fa-user-plus::before { content: "\f234"; }
.fa-users::before { content: "\f0c0"; }
.fa-wheelchair::before { content: "\f193"; }
.fa-calendar-alt::before { content: "\f073"; }
.fa-th::before { content: "\f00a"; }

.fa-flag::before { content: "\f024"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-user::before { content: "\f007"; }
/**
 * Styles pour le Sélecteur de Langue Dropdown
 * Compatible avec les thèmes clair/sombre
 */

/* Variables CSS pour thèmes */
:root {
    --lang-selector-bg: #ffffff;
    --lang-selector-border: #e1e5e9;
    --lang-selector-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --lang-selector-hover: #f8f9fa;
    --lang-selector-active: #e3f2fd;
    --lang-selector-text: #333333;
    --lang-selector-text-secondary: #666666;
    --lang-selector-radius: 8px;
    --lang-selector-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    --lang-selector-focus: #2196F3;
    --lang-selector-check: #4CAF50;
}

/* Thème sombre */
[data-theme="dark"] {
    --lang-selector-bg: #2d3748;
    --lang-selector-border: #4a5568;
    --lang-selector-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --lang-selector-hover: #374151;
    --lang-selector-active: #1e3a8a;
    --lang-selector-text: #ffffff;
    --lang-selector-text-secondary: #cbd5e0;
    --lang-selector-focus: #60a5fa;
}

/* Conteneur principal */
.language-selector {
    position: relative;
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    user-select: none;
    background: transparent;
}

/* Bouton déclencheur */
.language-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--lang-selector-radius);
    color: var(--lang-selector-text);
    cursor: pointer;
    transition: var(--lang-selector-transition);
    font-size: 20px;
    line-height: 1;
}

.language-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-trigger:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.language-trigger:active {
    transform: translateY(1px);
}

.language-trigger::after {
    content: '▾';
    font-size: 0.7em;
    margin-left: 2px;
    opacity: 0.75;
    line-height: 1;
}

/* Drapeau dans le déclencheur */
.language-trigger .flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

/* Menu déroulant */
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--lang-selector-bg);
    border: 1px solid var(--lang-selector-border);
    border-radius: var(--lang-selector-radius);
    box-shadow: var(--lang-selector-shadow);
    list-style: none;
    padding: 4px 0;
    margin: 4px 0 0 0;
    z-index: 10000;
    min-width: 60px;
    
    /* États fermé par défaut */
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--lang-selector-transition);
}

/* État ouvert */
.language-selector[data-state="open"] .language-dropdown {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Options de langue */
.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    position: relative;
    color: var(--lang-selector-text);
    border: none;
    outline: none;
}

.language-option:hover,
.language-option.focused {
    background: rgba(0, 0, 0, 0.05);
}

.language-option.active {
    background: rgba(0, 0, 0, 0.1);
}

.language-option.focused {
    background: rgba(0, 0, 0, 0.05);
}

.language-option.active.focused {
    background: rgba(0, 0, 0, 0.1);
}

/* Drapeaux dans les options */
.language-option .flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .language-dropdown {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 12px;
    }

    .language-option {
        padding: 16px;
    }

    .language-option .flag {
        width: 24px;
        height: 18px;
    }

    .language-trigger {
        width: 50px;
        height: 50px;
    }

    .language-trigger .flag {
        width: 28px;
        height: 21px;
    }

    .language-selector[data-state="open"]::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .language-dropdown {
        left: 5px;
        right: 5px;
        bottom: 5px;
    }
}

/* Animations avancées */
@media (prefers-reduced-motion: no-preference) {
    .language-option {
        transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .language-option:hover {
        transform: translateX(2px);
    }
    
    .language-dropdown {
        animation: slideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes slideIn {
        from {
            transform: translateY(-10px) scale(0.95);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .language-selector,
    .language-trigger,
    .language-dropdown,
    .language-option {
        transition: none;
        animation: none;
    }
    
    .language-trigger .arrow {
        transition: none;
    }
}

/* États de focus pour l'accessibilité */
.language-selector:focus-within .language-trigger {
    border-color: var(--lang-selector-focus);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* Masquer le focus par défaut sur les options */
.language-option:focus {
    outline: none;
}

/* Focus visible pour la navigation clavier */
.keyboard-navigation .language-option.focused {
    outline: 2px solid var(--lang-selector-focus);
    outline-offset: -2px;
}

/* Indicateur de langue active plus visible */
.language-option.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lang-selector-focus);
    border-radius: 0 2px 2px 0;
}

/* Styles pour les thèmes contrastés */
@media (prefers-contrast: high) {
    :root {
        --lang-selector-border: #000000;
        --lang-selector-text: #000000;
        --lang-selector-bg: #ffffff;
    }
    
    [data-theme="dark"] {
        --lang-selector-border: #ffffff;
        --lang-selector-text: #ffffff;
        --lang-selector-bg: #000000;
    }
    
    .language-trigger {
        border-width: 2px;
    }
    
    .language-option.active {
        border: 2px solid var(--lang-selector-focus);
    }
}

/* Styles d'impression */
@media print {
    .language-selector {
        display: none;
    }
}

/* Support pour les écrans de faible résolution */
@media (-webkit-min-device-pixel-ratio: 1) and (max-resolution: 96dpi) {
    .language-trigger .flag,
    .language-option .flag {
        font-size: 14px;
    }
}

/* Personnalisation des scrollbars sur mobile */
.language-dropdown {
    scrollbar-width: thin;
    scrollbar-color: var(--lang-selector-border) transparent;
}

.language-dropdown::-webkit-scrollbar {
    width: 4px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: var(--lang-selector-border);
    border-radius: 2px;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--lang-selector-text-secondary);
}

/* Classes utilitaires */
.language-selector--compact .language-trigger {
    padding: 4px 8px;
    min-width: 50px;
}

.language-selector--compact .language-trigger .code {
    display: none;
}

.language-selector--large .language-trigger {
    padding: 12px 16px;
    font-size: 16px;
}

.language-selector--large .language-option {
    padding: 12px 16px;
    font-size: 16px;
}

/* Support pour les préférences de couleur */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --lang-selector-bg: #2d3748;
        --lang-selector-border: #4a5568;
        --lang-selector-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        --lang-selector-hover: #374151;
        --lang-selector-active: #1e3a8a;
        --lang-selector-text: #ffffff;
        --lang-selector-text-secondary: #cbd5e0;
    }
}
/* Login form view (SPA mode) — prefix: lf- */

/* -------------------------------------------------------
   Card wrapper — Log_Form en vue SPA (pas en overlay .show)
   ------------------------------------------------------- */
#Log_Form:not(.show) {
    width: 90%;
    max-width: 560px;
    margin: 24px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 28px 28px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    #Log_Form:not(.show) {
        width: 95%;
        padding: 20px 16px;
    }
}

/* PhoneBlock width — override multivitrines.css margin/width for SPA */
#Log_Form:not(.show) #PhoneBlock {
    width: 100%;
    margin: 0;
}

/* En mode SPA, PhoneInstruct est redondant avec le .lf-intro */
#Log_Form:not(.show) #PhoneInstruct {
    display: none;
}

/* PhoneDisplay (format convivial du téléphone) redondant avec la valeur dans l'input */
#Log_Form:not(.show) #PhoneDisplay {
    display: none !important;
}

/* Code OTP — pleine largeur */
#Log_Form:not(.show) #Code {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 1em;
    background: white;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    color: #333;
    outline: none;
    margin: 0 0 12px 0;
    transition: border-color 0.2s;
    min-width: 0;
}

#Log_Form:not(.show) #Code:focus {
    border-color: var(--Color3);
}

/* GetPhoneBlock — select + input en ligne (DS grouped) */
#Log_Form:not(.show) #GetPhoneBlock {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: none;
    gap: 0;
}

#Log_Form:not(.show) #CountryCode {
    flex-shrink: 0;
    max-width: 175px;
    width: auto;
    height: 44px;
    padding: 0 28px 0 10px;
    font-size: 1em;
    background-color: #f5f5f5;
    border: 1.5px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    box-sizing: border-box;
    color: #333;
    outline: none;
    margin: 0;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    cursor: pointer;
}

#Log_Form:not(.show) #Phone {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font-size: 1em;
    background: white;
    border: 1.5px solid #ddd;
    border-left: none;
    border-radius: 0 8px 8px 0;
    box-sizing: border-box;
    color: #333;
    outline: none;
    margin: 0;
    transition: border-color 0.2s;
}

#Log_Form:not(.show) #GetPhoneBlock:focus-within #CountryCode,
#Log_Form:not(.show) #GetPhoneBlock:focus-within #Phone {
    border-color: var(--Color3);
}

/* Input code + icône œil en suffixe */
.lf-input-eye-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.lf-input-eye-wrap #Code {
    width: 100%;
    padding-right: 40px;
}

.lf-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 1em;
    float: none;
    margin: 0;
}

/* ValidatePhone / ValidateCode — pleine largeur, override margin:10px de .Button */
#Log_Form:not(.show) #ValidatePhone,
#Log_Form:not(.show) #ValidateCode {
    width: 100%;
    justify-content: center;
    margin: 16px 0 4px;
    box-sizing: border-box;
}


/* Texte explicatif au-dessus des champs */
.lf-intro {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* "Je n'ai pas encore de compte" */
.login-alt-action {
    text-align: center;
    font-size: 0.9em;
    margin-top: 12px;
    margin-bottom: 0;
    color: #666;
}

.login-alt-action a {
    color: var(--Color3);
    text-decoration: underline;
    cursor: pointer;
}

.login-alt-action a:hover {
    color: var(--Color4);
}

/* CodeBlock spacing */
#Log_Form:not(.show) #CodeBlock {
    margin-top: 0;
}

/* "Mot de passe oublié" link — aligné à droite, sous le champ code */
#Log_Form:not(.show) #ForgottenPwd {
    display: block;
    text-align: right;
    margin: 4px 0 12px;
    font-size: 0.8em;
    color: var(--Color3);
    cursor: pointer;
    text-decoration: underline;
}


/* Toggle "Se souvenir de moi" */
.lf-remember-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 4px;
    cursor: pointer;
    user-select: none;
}

.lf-remember-label {
    font-size: 0.88em;
    color: #555;
}

.lf-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.lf-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.lf-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 22px;
    transition: background 0.2s;
    cursor: pointer;
}

.lf-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lf-toggle input:checked + .lf-toggle-slider {
    background: var(--Color3, #4caf50);
}

.lf-toggle input:checked + .lf-toggle-slider::before {
    transform: translateX(18px);
}

/* Intro text avec badge Obligatoire en mode inscription */
body.register-mode .lf-intro {
    font-weight: 600;
    color: #444;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.mg-layout { display: grid; grid-template-columns: 280px 1fr; grid-template-rows: 1fr auto; height: 100%; }
.mg-conv-list { grid-row: 1 / 3; overflow-y: auto; background: var(--Color6); border-right: 1px solid var(--Color5, #eee); }
.mg-conv-card { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--Color5, #f0f0f0); }
.mg-conv-card.active { background: var(--Color1); color: white; }
.mg-pastille { display: inline-block; min-width: 18px; height: 18px; border-radius: 9px; background: var(--Color3); color: white; font-size: 11px; font-family: 'DM Sans', sans-serif; text-align: center; line-height: 18px; padding: 0 4px; }
.mg-messages { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mg-bubble { max-width: 70%; padding: 8px 12px; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.4; }
.mg-bubble.mine { align-self: flex-end; background: var(--Color1); color: white; border-bottom-right-radius: 2px; }
.mg-bubble.theirs { align-self: flex-start; background: var(--Color6); color: var(--Color2, #333); border-bottom-left-radius: 2px; }
.mg-form { padding: 12px; border-top: 1px solid var(--Color5, #eee); display: flex; gap: 8px; align-items: flex-end; }
.mg-form textarea { flex: 1; resize: none; border: 1px solid var(--Color5, #ddd); border-radius: 8px; padding: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px; }
.mg-form button { padding: 8px 14px; border: none; border-radius: 8px; background: var(--Color1); color: white; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 14px; }
.mg-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.mg-form-file-label { cursor: pointer; padding: 8px 10px; border: 1px solid var(--Color5, #ddd); border-radius: 8px; }
.mg-conv-name { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.mg-conv-preview { font-family: 'DM Sans', sans-serif; font-size: 12px; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-bubble img { max-width: 200px; border-radius: 8px; display: block; margin-top: 4px; }
.mg-bubble a { color: inherit; text-decoration: underline; }
.mg-empty { padding: 24px; text-align: center; font-family: 'DM Sans', sans-serif; color: var(--Color2, #666); font-size: 14px; }
@media (max-width: 768px) { .mg-layout { grid-template-columns: 1fr; } .mg-conv-list { grid-row: auto; } }

/* DEPRECATED — fichier vide, conservé pour éviter une erreur Gulp sur le glob css/**/*.css */

/* Variables personnalisables */
:root {
    --Color1: #74c5c3;
    --Color2: #1fa8b0;
    --Color3: #0981bc;
    --Color4: #254e89;
    --Color5: #e15154;
    --Color6: #017c47;
    --dark_text_color: #b9ddea;
    --bright_text_color: #025c84;
    --Color-subscribe: #89e975;
    --Color-valid-input: #b0ffa0;

    /* Composant : menu déroulant (cf. aidd_docs/design-system/dropdown-menu.md) */
    --menu-bg: #ffffff;
    --menu-text: #333333;
    --menu-hover-bg: #f5f5f5;
    --menu-divider: #e9ecef;
}

/* Règles communes portrait et landscape */
#ModalBox {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#SelResa,
#SelDate {
    width: -webkit-fill-available;
    max-width: 500px;
}

@media only screen and (orientation: portrait) {
    .SelectDuration {
        font-size: large;
        line-height: 1.5;
    }
}

@media only screen and (orientation: landscape) {
    .QRContentBlockAction {
        max-width: 500px;
    }
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

input:-internal-autofill-selected {
    background-color: white !important;
}

.OtherFlags {
    display: inline-block;
    width: 12%;
    max-width: 80px;
    aspect-ratio: 1.5;
    border-radius: 3px;
    background-size: cover;
    margin: 5px;
}

.Header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-height: 10%;
    height: 10%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    color: var(--dark_text_color);
    background-image: linear-gradient(to top, var(--Color3), var(--Color4));
    margin: 0px;
    padding: 1vh 0;
    text-align: left;
    flex-direction: row;
}

.Header span,
.Header select {
    font-weight: bold;
    display: flex;
    font-size: inherit;
    padding: 15px;
    border-radius: 15px;
    color: var(--bright_text_color);
    background: white;
    margin: 10px;
    max-width: 60%;
    justify-content: center;
    width: -webkit-fill-available;
}

.Header a {
    max-width: 10%;
    padding: 14px;
    margin: 10px;
    color: white;
}

.Header img {
    min-height: 50%;
    max-width: 20%;
    max-height: 100%;
    border-radius: 5px;
    background-color: white;
}

.SpaceIcon {
    padding-left: 10px;
    padding-right: 10px;
}

#FAQBtn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--Color3);
    padding: 15px;
    border-radius: 20px;
    font-size: larger;
    font-weight: bold;
    z-index: 10;
}

.FAQTicket {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 10px;
    width: 90%;
    margin-right: 2.5%;
    margin-left: 2.5%;
    margin-top: 10px;
    border-radius: 15px;
}

#ConvContext {
    /*padding: 5px;*/
    gap: 5px;
    display: flex;
    flex-direction: column;
    /*font-size: small;*/
    margin-right: 10px;
}

#MsgMailTo,
#MsgPhoneTo,
#MsgConvName {
    color: var(--bright_text_color);
    padding: 0px;
    margin: 0;
    width: -webkit-fill-available;
    max-width: max-content;
}

#MessagesBubblesList,
#ConversationList {
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    position: absolute;
    left: 0px;
    top: 12%;
    width: 100%;
    overflow-y: scroll;
    max-height: 80%;
    /*border-radius: 10px;*/
}

#ConversationList {
    max-height: 88%;
}

#NavConv {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.tabs {
    top: 12%;
}

.tabs li {
    float: left;
    display: block;
    width: -webkit-fill-available;
    text-align: center;
    background: var(--Color3);
    padding: 8px;
    font-weight: bold;
    color: white;
    font-size: large;
}

.tabs li.active {
    background: color-mix(in srgb, var(--Color3) 80%, white 20%);
}

.ButtonNavMessagerie {
    color: white;
    background: var(--Color3);
    padding: 8px;
    border: none;
    border-radius: 10px;
    width: 30%;
}

.GroupConv {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    padding: 10px;
    width: 90%;
    margin-right: 2.5%;
    margin-left: 2.5%;
    margin-top: 10px;
    border-radius: 15px;
}

.GroupConv #Service {
    font-weight: bold;
}

.GroupConv .EntrepName {
    font-weight: bold;
    display: flex;
    /*align-self: start;*/
    font-size: x-large;
    flex-direction: row;
    align-items: center;
}

.GroupConv div.EntrepName img {
    max-width: 10%;
    /*border-radius: 50%;*/
    margin-right: 10px;
}

.GroupConv #UnreadPastille {
    display: none;
    color: white;
    background: var(--Color5);
    border: none;
    border-radius: 50%;
    padding: 2px;
    width: fit-content;
    min-width: 1.2em;
    height: 1.2em;
    text-align: center;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
}

.Bubble {
    padding: 15px;
    text-align: left;
    /*	line-break: strict;*/
    display: inline-block;
}

.Bubble a {
    line-break: anywhere;
}

.Bubble img {
    border-radius: 2px;
}

.TeamToUser {
    margin-left: 100px;
    padding: 10px;
    text-align: right;
}

.TeamToUser .Bubble {
    border-radius: 20px 20px 0px 20px;
    background-image: linear-gradient(to left, var(--Color3), var(--Color4));
    color: var(--dark_text_color);
}

.TeamToUser .Bubble a:link,
.TeamToUser .Bubble a:visited {
    color: var(--dark_text_color);
    opacity: 0.6;
}

.UserToTeam {
    margin-right: 100px;
    padding: 10px;
    text-align: left;
}

.UserToTeam .Bubble {
    border-radius: 20px 20px 20px 0px;
    background-image: linear-gradient(to right, var(--Color1), var(--Color2));
    color: var(--bright_text_color);
}

.UserToTeam .Bubble a:link,
.UserToTeam .Bubble a:visited {
    color: var(--bright_text_color);
    opacity: 0.6;
}

.Time {
    font-size: 0.6em;
}

#MessagesFooter {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    /*min-height: 100px;*/
    height: 6%;
    color: grey;
    margin: 0px;
    padding: 1%;
    text-align: left;
}

#Text {
    position: absolute;
    left: 10px;
    bottom: 10px;
    right: 100px;
    font-size: 1em;
    border-radius: 10px;
    padding-left: 60px;
    padding-top: 10px;
    padding-right: 10px;
    border: none;
    resize: none;
    min-height: 30px;
}

#Send {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--dark_text_color);
    background-image: linear-gradient(to top, var(--Color1), var(--Color2));
    border-radius: 40px;
    padding: 10px;
    font-size: 1.5em;
    border: none;
}

#File {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: grey;
}

#CguWrap,
#MapWrap {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    height: 100%;
    overflow-y: scroll;
}

#gMap {
    position: absolute;
    left: 0px;
    top: 90px;
    width: 100%;
    height: 100%;
}

#CguImg {
    position: absolute;
    left: 0px;
    top: 90px;
    width: 100%;
}

/* HERO IMAGE */
#HeroWrap {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
}

#HdBackground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/default.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#HdCaption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    z-index: 1;
    display: none;
}

#ModalWrap {
    width: 100%;
}

#ModalShadow {
    position: relative;
    width: 100%;
}

#ModalBox {
    color: var(--bright_text_color);
    text-align: center;
    background-color: white;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#LogoWrap {
    height: 50px;
}


#Chevron1,
#Chevron2 {
    height: 50px;
}

#Logo {
    height: 50px;
    max-height: 50px;
    max-width: 100%;
}

#Flags img {
    display: inline-block;
    width: 12%;
    max-width: 80px;
    aspect-ratio: 1.5;
    border-radius: 3px;
    background-size: cover;
    margin: 5px;
}

#Code,
#Email,
#Name,
#CodeImg,
#PromoCode {
    /* #ModalBox 0[type=text],*/
    font-size: 1em;
    border-radius: 15px;
    padding: 10px;
    border: none;
    margin: 10px;
    text-align: center;
    width: 90%;
}

#Code {
    width: auto;
}

#ForgottenPwd {
    text-decoration: underline;
    color: var(--Color3);
}

#CodeImg {
    /* width: auto; */
    max-width: 100%;
}

#PhoneBlock {
    width: 90%;
    margin-left: 5%;
    margin-top: 10px;
}

#CodeBlock {
    margin-top: 20px;
}

#GetPhoneBlock {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 10px;
    width: 100%;
    max-width: none;
    gap: 0;
}

#CGUBlock {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0 0 0;
}

#ErrorPhoneMsg {
    padding: 10px 0 10px 0;
}

#SubBlock,
#UnknownPhoneBlock {
    flex-direction: column;
    align-items: center;
}


.captcha-section {
    width: 90%;
    max-width: 320px;
    margin: 12px auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#CaptchaTxt {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--Color4);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px 12px 6px;
}

.captcha-section img {
    width: 100%;
    height: auto;
    display: block;
    border-top: 1px solid #e0e0e0;
}

.captcha-section .loader {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    align-self: center;
}

.captcha-section #CodeImg {
    width: calc(100% - 24px);
    margin: 8px 12px;
    border-radius: 6px;
    background: white;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 0.95em;
    text-align: left;
}


.Checkbox {
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    transform: scale(1.3, 1.3);
    max-height: 50%;
    min-height: 1.25rem;
    min-width: 1.25rem;
}

#CGU {
    display: inline-flex;
    flex-wrap: wrap;
}

#CGUtxt,
#SMStxt {
    width: -webkit-fill-available;
}

#ValidateCGU,
#ValidateSMS,
#ConfirmLocker {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: justify;
    gap: 1rem;
    width: 100%;
}

#ConfirmLocker {
    background-color: var(--Color1);
    border-radius: 10px;
    width: -webkit-fill-available;
}

#ConfirmLockerTxt {
    text-decoration: underline;
    line-height: 1.5;
}

#ValidateCode {
    margin-top: 20px;
}

#WishSubscribe,
#SubscribeValid {
    background: var(--Color-subscribe) !important;
}

#Phone,
#PrefixPhone {
    flex: 1;
    font-size: 1em;
    padding: 10px 14px;
    background: white;
    border: 1.5px solid #ddd;
    border-left: none;
    border-radius: 0 8px 8px 0;
    min-width: 0;
    box-sizing: border-box;
}

input.green-background {
    background-color: color-mix(in srgb, var(--Color6) 12%, white) !important;
    border-color: var(--Color6) !important;
    background-image: none !important;
}

#PrefixPhone {
    width: 10%;
}

#LoginError {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#CountryCode {
    font-size: 1em;
    padding: 10px 28px 10px 10px;
    border: 1.5px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    background-color: #f5f5f5;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    cursor: pointer;
    flex-shrink: 0;
    max-width: 175px;
    width: auto;
}

#GetPhoneBlock:focus-within #CountryCode,
#GetPhoneBlock:focus-within #Phone {
    border-color: var(--Color3);
}

/* -------------------------------------------------------
   DS — Select + Input groupés (composant global)
   ------------------------------------------------------- */
.ds-input-split {
    display: flex;
    align-items: stretch;
    max-width: 320px;
    margin-bottom: 12px;
}

.ds-input-split-select {
    flex-shrink: 0;
    padding: 10px 28px 10px 12px;
    border: 1.5px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    background-color: #f5f5f5;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    cursor: pointer;
    outline: none;
    color: #333;
}

.ds-input-split-field {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    outline: none;
}

.ds-input-split:focus-within .ds-input-split-select,
.ds-input-split:focus-within .ds-input-split-field {
    border-color: var(--Color3);
}

#ValidatePhone {
    width: fit-content;
    padding: 10px 20px;
}

.Button {
    color: var(--bright_text_color);
    background: linear-gradient(135deg, var(--Color3), var(--Color4));
    border-radius: 25px;
    padding: 10px 20px;
    border: none;
    margin: 10px;
    width: 40%;
    display: inline-block;
    font-weight: 600;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s;
}

.Button:disabled,
.Button.a_disabled {
    pointer-events: none;
    opacity: 0.45;
    cursor: not-allowed;
}

a:hover,
.Button:hover {
    cursor: pointer;
}

.noClick {
    pointer-events: none;
    z-index: 0;
}

.noClickCGU {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Désactiver tous les clics */
    background-color: rgba(0, 0, 0, 0.5);
    /* Optionnel pour visuellement bloquer l'accès */
    z-index: 999;
}

.clickable {
    z-index: 1000;
    pointer-events: all;
}

.blink-smooth {
    animation: blinkColor 2s infinite ease-in-out;
}

.GroupBtn {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 8px;
}

.GroupBtn .Button {
    width: auto;
    flex: 1 1 40%;
    min-width: 120px;
    max-width: 200px;
    margin: 4px;
    white-space: nowrap;
    text-align: center;
}

#ValidateResa,
#ReturnSelDate,
#ValidDate,
#Backtestphone,
#SubscribeValid,
#ValidCbBlock,
#ReturnResa {
    align-items: center;
    align-self: center;
    justify-content: center;
    font-weight: bold;
}

#ValidCbBlock {
    position: relative;
    z-index: 100;
}

#ResaRecap {
    display: flex;
    align-items: self-start;
    flex-direction: column;
    background-color: color-mix(in srgb, var(--Color6) 20%, transparent);
    color: var(--bright_text_color);
    border: none;
    border-radius: 10px;
    text-align: start;
    margin-bottom: 10px;
    padding: 10px;
    width: -webkit-fill-available;
    line-height: 1.5;
    gap: 10px;
}

#ResaRecapTitle {
    font-weight: bold;
    text-decoration: underline;
}

#RecapLocker {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    gap: 5px;
}

#RecapLocker span {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.visualizeBtn {
    text-decoration: underline;
    color: color-mix(in srgb, var(--bright_text_color) 80%, black 20%);
    font-weight: bold;
}

#ResaKeyBlock {
    display: flex;
    flex-direction: column;
}

#ValidateCB,
#ValidateSub {
    background: transparent;
    border: none;
    color: var(--bright_text_color);
    font-weight: bold;
    font-size: 1rem;
}

#ValidateCB {
    position: sticky;
    z-index: 90;
    pointer-events: none;
}

#BtnFalseCodeAction {
    display: flex;
    flex-direction: row;
}

#PhoneDisplay {
    font-size: 0.8em;
    margin: 10px;
}


#HelpMenuContent {
    flex-direction: column;
    align-items: start;
    padding: 5px 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    text-align: left;
}

#HelpMenuContent p {
    font-weight: normal;
}

#HelpMenuContent p i {
    padding: 10px;
    background-image: linear-gradient(to top, var(--Color3), var(--Color4));
    border-radius: 10px;
    color: var(--dark_text_color);
}

.Instruct {
    font-weight: bold;
    font-size: large;
}

#DateMsgError,
#LoginError,
#ErrorEmail,
#ErrorName,
#ResaErrorLocker,
#InstructLockerCheck {
    /*color: var(--Color5);*/
    /*le rouge est moche*/
    color: var(--Color5);
    width: 100%;
}

#Welcome {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

#ModalFooter {
    margin-top: auto;
    background: var(--Color1);
    color: white;
    font-size: 0.8em;
    padding: 20px 16px;
    text-align: center;
}

#ModalFooter a {
    text-decoration: none;
    color: white;
}

#ModalFooter a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 0;
}

.footer-links a {
    white-space: nowrap;
}

.footer-links a:not(:last-child)::after {
    content: '|';
    margin: 0 8px;
    opacity: 0.5;
}

.footer-meta {
    margin-top: 8px;
    opacity: 0.75;
    font-size: 0.9em;
}

.footer-meta:empty {
    display: none;
}

/* Login form overlay — .show class added by requireLogin() */
#Log_Form.show {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
}

#MyBooking,
#MyLockers,
#MyTransacMach,
#MyResa,
#divBlockConsigne,
#divBlockLocation {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#MyResa {
    margin-top: 20px;
}

.Form {
    width: 100%;
    background: var(--dark_text_color);
    color: var(--bright_text_color);
    flex-direction: column;
    align-self: center;
    align-items: center;
    text-align: center;
    border: none;
    padding-top: 5px;
    position: relative;
}

.Title {
    /*width:100%;
	text-decoration: solid;
	text-decoration: underline;
	font-weight: bolder;
	font-size: larger;
	color: var(--bright_text_color);*/
    font-weight: bold;
    font-size: larger;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 5px;
}

.mapsbtn {
    background: var(--Color2);
    align-self: flex-start;
    margin-top: 0px;
    margin-right: 5px;
    margin-left: 5px;
    padding: 5px;
    border-radius: 5px;
}

.SingleBook,
.SingleTransac,
.SingleLocker {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-self: center;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-top: 5px;
    border: none;
    border-radius: 10px;
    background: color-mix(in srgb, var(--Color4) 80%, black 20%);
    color: var(--dark_text_color);
}

#PwdInput {
    width: 20%;
}

.SingleTransac #DescInput {
    width: 90%;
    margin: 0 2%;
    height: auto;
    min-height: 50px;
    max-height: 300px;
    overflow: hidden;
    resize: vertical;
    padding: 2%;
    border: none;
    border-radius: 10px;
}

#BtnDescValid {
    width: 40%;
    align-self: center;
}

.SingleTransac div.divmoney span,
.SingleTransac div.divmoney a {
    width: auto;
}

.AllocatedUser {
    /*display: flex;*/
    flex-direction: column;
    width: 96%;
    margin: 2%;
    background-color: color-mix(in srgb, var(--Color1) 80%, var(--Color3) 10%);
    padding: 10px 0;
    position: relative;
    border-radius: 10px;
    text-align: start;
}

#AllocatedUsertxt {
    padding: 5px;
}

#selectLang,
#selectLangSponso {
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
    padding-left: 10px;
}

.BtnMyResa {
    display: flex;
    text-align: center;
    position: relative;
    /* margin-top: 5px;
	margin-bottom: 5px; */
    min-width: 5%;
    width: auto;
    padding: 10px;
    max-width: 90%;
    border: none;
    border-radius: 10px;
    color: black;
    background: var(--Color2);
    justify-content: space-evenly;
    box-shadow: 1px -1px 3px 0px rgba(0, 0, 0, 0.5);
}

#BtnPwdValid {
    margin: 0;
    align-self: flex-start;
    display: inline;
    width: 25%;
    color: var(--bright_text_color);
}

#BtnMajTraveller {
    position: absolute;
    top: 5px;
    right: 10px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 12px 0 8px;
    color: var(--dark_text_color);
}

.list-scrollable {
    max-height: 200px;
    overflow-y: auto;
}

#MyResaActions {
    margin-top: 20px;
}

#SuppAllocUser {
    position: absolute;
    right: 10px;
    bottom: 5px;
    background: var(--Color5);
}

#CancelBook {
    background-color: var(--Color5);
}

.SingleTransac #InfoTraveller.ShowInfoUser {
    display: flex;
    gap: 5px;
    padding: 5px;
}

.SingleTransac #InfoTraveller.HideInfoUser {
    display: none;
}

#cellLocation {
    flex-direction: row;
    align-content: space-around;
}

#DescText {
    padding-right: 15px;
}

.infoLock {
    padding: 5px;
    background: var(--Color1);
    color: var(--Color4);
    padding-bottom: 5px;
    border-radius: 10px;
    width: -webkit-fill-available;
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.infoLock > * {
    min-height: 1.5rem;
}

.infoLock .row {
    display: flex;
    flex-direction: row;
    width: -webkit-fill-available;
    padding: 0 5px;
    border-radius: 10px;
    text-align: start;
    align-items: center;
    color: var(--bright_text_color);
    justify-content: space-between;
}

.SingleBook .infoLock {
    padding: 0;
}

#infoLock #booktransac {
    display: flex;
    flex-direction: column;
    background-color: color-mix(in srgb, var(--Color1) 80%, var(--Color3) 10%);
    width: 98%;
    padding: 1%;
    gap: 10px;
}

#booktransac #bookamount {
    align-self: end;
    justify-content: flex-end;
    font-weight: bold;
    font-size: small;
}

#DateLock {
    justify-content: center;
    margin: 0;
    background: var(--Color3);
}

.SingleBook #LocaBookMach {
    display: flex;
    width: -webkit-fill-available;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 5px 10px;
}

.formAllocateLocker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.formAllocateLocker > * {
    width: -webkit-fill-available;
}

.inputAllocateLocker {
    border: none;
    padding: 10px;
    border-radius: 10px;
    width: -webkit-fill-available;
}

.SingleTransac .FormHide {
    display: none;
}

.LocationInvalide {
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 0 5px;
}

#ActionTransac {
    padding: 0;
    background: none;
    color: var(--dark_text_color);
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.SingleBook span.CancelStatus {
    width: 20%;
    background-color: grey;
    color: white;
}

#ResaOnline {
    flex-direction: column;
    width: 100%;
}

#ResaLocker,
#WrapStripe {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    width: -webkit-fill-available;
    border-radius: 20px;
    align-items: center;
}

#confirmresa {
    z-index: 0;
}

#ResaLocker {
    background-color: color-mix(in srgb, var(--Color1) 80%, transparent 30%);
}

#ResaLocker select,
#SelectNetwork {
    padding: 5px;
    border-radius: 10px;
    width: -webkit-fill-available;
    border: none;
    max-width: 60%;
}

#SelectDateInstruct,
#SelectMachineInstruct,
#SelectLockerInstruct,
#card_info_title {
    font-weight: bold;
    width: -webkit-fill-available;
}

#SelectDateInstruct,
#SelectMachineInstruct,
#SelectLockerInstruct {
    text-decoration: underline;
}

#SelectMachineInstruct {
    margin: 10px 0;
}

#SliceSelector {
    margin-left: 1rem;
    margin-right: 1rem;
}

#InfoNonLinearBook {
    display: none;
    flex-direction: column;
    font-size: smaller;
    margin: 5px 0 5px 0;
}

#SelResa,
#SelDate {
    display: flex;
    /*flex-direction: row;*/
    justify-content: space-around;
    padding-bottom: 5px;
    align-items: center;
    flex-wrap: wrap;
    /*max-width: -webkit-fill-available;*/
}

#SelResa {
    padding-top: 10px;
    padding-bottom: 20px;
}

#SelDate {
    flex-direction: column;
}

#MachineSchedules {
    display: inline-block;
    margin: 10px 0;
    line-height: 1.5;
}

#SchedulesTitle {
    font-weight: bold;
}

#MachineOpen {
    margin-right: 20px;
}

#ConfirmLockerBlock {
    flex-direction: column;
}

#DateFrom,
#DateTo {
    width: -webkit-fill-available;
    margin: 0.5rem 0;
}

.SelectDuration {
    max-width: 40%;
    margin: 2px;
    padding: 5px;
    border-radius: 10px;
    border: none;
    width: -webkit-fill-available;
}

#DateFrom #HourStart,
#DateTo #HourEnd,
#DateFrom #MinuteStart,
#DateTo #MinuteEnd {
    max-width: 15%;
    width: -webkit-fill-available;
    margin: 2px;
    padding: 5px;
    font-size: large;
    line-height: 1.5;
}

#MinBookTimeInfo {
    display: none;
    color: var(--Color5);
    font-weight: bold;
}

.LockerViewBack {
    /*float:right; */
    width: 200px;
    height: 250px;
    margin: 0px;
    background-image: url(../img/LockerAccessVision.png);
    background-image: image-set(url(../img/LockerAccessVision.webp) type("image/webp"), url(../img/LockerAccessVision.png) type("image/png"));
    background-repeat: no-repeat;
    text-align: right;
    padding: 0px;
}

.LockerInView {
    background-color: var(--Color1);
    display: block;
    border: 1px solid black;
    position: relative;
    right: 0px;
    bottom: 2px;
    float: right;
}

#PmrBlock {
    display: flex;
    justify-content: center;
    align-items: center;
}

#CustomerRecharge {
    background: var(--Color1);
    width: -webkit-fill-available;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-weight: bold;
    align-items: center;
}

#RechargeAmount {
    /*width: 70%;*/
    padding: 8px;
    border-radius: 10px;
    background-color: whitesmoke;
    align-items: center;
    align-self: center;
    font-size: large;
    font-weight: bold;
}

#inputRechargeAmount {
    background-color: whitesmoke;
    width: auto;
    border: none;
    outline: none;
    /* Supprime la bordure ajoutée au focus */
    box-shadow: none;
    /* Supprime les ombres éventuelles */
    font-size: large;
    font-weight: bold;
    text-align: end;
}

#StripeInfoBlock {
    background: var(--Color1);
    width: -webkit-fill-available;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

#StripeLinkIssueBlock {
    margin: 15px 0;
    font-weight: bold;
}

#payment_form {
    width: -webkit-fill-available;
}

#card_name,
#card_element {
    width: -webkit-fill-available;
    padding: 8px;
    border-radius: 10px;
    background-color: whitesmoke;
}

#ButtonStripeForm,
#BtnNavResa {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#ProfilInfo {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 4px 0;
    min-height: 44px;
}

#YouAre,
#NumberIs,
#PwdIs,
#EmailIs,
#AmountIs {
    width: 30%;
    font-weight: bold;
}

#ProfilName,
#YourNumber,
#YourPwd,
#YourEmail {
    width: 60%;
}

#YourAmount {
    width: 25%;
}

#GoRecharge {
    margin: 0;
    text-align: center;
    padding: 5px;
    align-self: flex-end;
}

.edit-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

#TblLocker,
#WrapLocker {
    display: inline-table;
    vertical-align: middle;
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    margin-top: 10px;
}

#WrapLocker tr {
    flex-wrap: wrap;
    width: 90%;
}

#WrapLocker th {
    width: 20%;
    max-width: 100px;
}

#WrapLocker select {
    border: none;
    border-radius: 5px;
}

#Profil {
    display: flex;
    padding: 2rem;
    flex-direction: column;
    align-content: stretch;
    flex-wrap: wrap;
    position: relative;
    text-align: left;
    /*margin-left: 5%;*/
    /*margin-right: 5%;*/
    border-radius: 20px;
    padding-bottom: 10%;
    background-color: color-mix(in srgb, var(--Color1) 80%, white 20%);
    margin-top: 20px;
}

#ProfileForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px;
    position: relative;
}

#ProfileForm input {
    font-size: 1em;
    border-radius: 10px;
    padding: 5px 10px;
    border: none;
    margin: 5px;
    text-align: left;
    width: auto;
}

#cancelLink {
    position: absolute;
    right: -2rem;
    top: 0.2rem;
}

#saveProfile {
    border-radius: 10px;
    padding: 5px;
    border: none;
    margin: 5px;
}

#InfoReseau {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    font-size: larger;
    font-weight: bold;
    margin-bottom: 20px;
}

.NetworkEnt {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: color-mix(in srgb, var(--Color1) 80%, white 20%);
    padding: 10px;
    font-size: larger;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.NetworkEnt a {
    color: var(--bright_text_color);
}

/* Responsive container (Tailwind breakpoints) */
/* Breakpoints de largeur de contenu (≠ breakpoints de layout 768/1200px).
   Ces max-width limitent la largeur lisible du contenu dans les sections.
   Utilisé dans info-section, cta-section, points-vente, faq, contact. */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}
@media (min-width: 768px) {
    .container { max-width: 768px; }
}
@media (min-width: 1024px) {
    .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .container { max-width: 1536px; }
}

/* Page containers */
.page-container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.view-render-error {
    padding: 40px 20px;
    text-align: center;
    color: var(--Color5);
    font-size: 0.95em;
}

.view-render-error p:first-child {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.content-section {
    width: 100%;
    margin-bottom: 0;
    background: white;
    padding: 48px 0;
    border-radius: 0;
}

.content-section--alt {
    background: color-mix(in srgb, var(--Color1) 6%, white);
}

/* Webcontent layout B — blocs centrés numérotés */
.wc-b-container {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
}

.wc-b-num {
    font-size: 3.5em;
    font-weight: 900;
    line-height: 0.9;
    color: var(--Color1);
    opacity: 0.25;
    flex-shrink: 0;
    user-select: none;
    margin-top: 6px;
}

/* Webcontent layout C — cards */
.wc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.wc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.wc-card h3 {
    margin: 0 0 12px;
}

.content-section h2,
.content-section h3 {
    color: var(--Color3);
    font-weight: 700;
    margin: 0 0 20px;
}

.content-section h2 {
    font-size: 2em;
}

.content-section h3 {
    font-size: 1.5em;
}

.content-section p {
    color: #444;
    line-height: 1.7;
}

.content-section ul,
.content-section ol {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.content-section ul li,
.content-section ol li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

/* Puce colorée pour ul */
.content-section ul li::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--Color1);
}

/* Numéro cerclé pour ol */
.content-section ol {
    counter-reset: wc-ol;
}

.content-section ol li {
    counter-increment: wc-ol;
}

.content-section ol li::before {
    content: counter(wc-ol);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--Color1);
    color: white;
    font-size: 0.8em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sous-listes */
.content-section ul ul,
.content-section ol ol,
.content-section ul ol,
.content-section ol ul {
    margin: 8px 0 0 0;
}

.content-section ul ul li::before {
    width: 6px;
    height: 6px;
    top: 9px;
    left: 10px;
    background: transparent;
    border: 2px solid var(--Color1);
}

.hero-section {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--Color1), var(--Color2));
    border-radius: 0;
    color: white;
}

.hero-section h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.92;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-btn {
    padding: 14px 36px;
    font-size: 1.1em;
    background: white;
    color: var(--Color3);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s;
}

.hero-btn:hover {
    opacity: 0.9;
}

.cta-section {
    text-align: center;
    padding: 64px 20px;
    background: linear-gradient(135deg, var(--Color3), var(--Color4));
    border-radius: 0;
    color: white;
}

.cta-section h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 28px;
}

.cta-section .btn-cta-ghost {
    display: inline-block;
    background: white;
    color: var(--Color3);
    border: none;
    border-radius: 25px;
    padding: 14px 36px;
    font-size: 1.05em;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}

.cta-section .btn-cta-ghost:hover {
    opacity: 0.88;
}

/* Page headers */
.page-header {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--Color3), var(--Color4));
    color: white;
}

.page-header h1 {
    font-size: 3em;
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero header pour pages intérieures (image de fond + titre) */
.page-header-hero {
    position: relative;
    width: 100%;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
    overflow: hidden;
}

.page-header-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-header-hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.page-header-hero-content h1 {
    font-size: 3em;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.page-header-hero-content p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-header-hero + .content-section,
.page-header-hero + .container,
.page-header-hero + div {
    margin-top: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .page-header-hero {
        min-height: 20vh;
    }
}

/* Section spacing */
.section-small {
    margin-bottom: 20px;
}
.section-medium {
    margin-bottom: 30px;
}
.section-large {
    margin-bottom: 50px;
}
.section-xlarge {
    margin-bottom: 60px;
}

/* Text spacing */
.text-spacing h1,
.text-spacing h2,
.text-spacing h3 {
    margin-bottom: 15px;
}
.text-spacing p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Form sections */
.form-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--Color3), var(--Color4));
    color: white;
    border: none;
    border-radius: 25px;
    padding: 14px 32px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--Color3) 35%, transparent);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: var(--Color3);
    border: 2px solid var(--Color3);
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover {
    background: color-mix(in srgb, var(--Color3) 8%, transparent);
    color: var(--Color3);
}

.btn-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Info sections */
.info-section {
    width: 100%;
    margin-bottom: 0;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--Color1), var(--Color2));
    border-radius: 0;
    color: white;
    text-align: center;
}

.info-section h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-section p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.NetworkEnt a:hover {
    color: var(--Color5);
    /* Couleur du lien au survol de la souris */
    text-decoration: underline;
    /* Ajoute ou modifie la décoration au survol */
}

.NetworkEnt img {
    width: 40%;
    align-self: center;
}

#WrapLocker .td,
#WrapLocker .th {
    flex-wrap: wrap;
    width: 15%;
    text-align: center;
}

.fa-solid.IconeLock {
    border-radius: 50%;
    background: white;
    padding: 2px;
}

/*css modal pop up*/
/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.open-modal {
    font-weight: bold;
    padding: 0.75rem 1.75rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

/* MODAL
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: none;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.35s ease-in, opacity 0.35s ease-in;
}

.modal.is-visible {
    visibility: visible;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-dialog {
    background: white;
    position: relative;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 5px;
    overflow: auto;
    cursor: default;
    /*box-shadow: 0px 0px 500px 1px lightgrey;*/
}

.modal-content {
    max-height: -webkit-fill-available;
    overflow-y: auto;
    color: var(--Color4);
}

.modal-content span,
.modal-content p,
.modal-content div {
    color: inherit;
}

.modal-dialog > * {
    padding: 1rem;
    flex-direction: column;
}

.CloseCross {
    align-self: flex-end;
}

.modal-header,
.modal-footer {
    flex-direction: row;
    background: var(--Color2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: end;
}

.modal-header .close-modal {
    font-size: 1.5rem;
}

.modal p + p {
    margin-top: 1rem;
}

.divloader {
    width: 212px;
    height: 212px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    /*position: absolute;*/
    left: 20%;
    top: 25%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: 10px;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    background: linear-gradient(var(--Color1), var(--Color4));
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 25px),
        black 100%
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 25px),
        black 100%
    );
}

.rotate {
    animation: rotateforth 0.2s linear;
    transform: rotate(180deg);
}

@keyframes rotateforth {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

.rainbow {
    background: linear-gradient(
        90deg,
        hsl(0, 100%, 50%),
        hsl(60, 100%, 50%),
        hsl(120, 100%, 50%),
        hsl(180, 100%, 50%),
        hsl(240, 100%, 50%),
        hsl(300, 100%, 50%)
    );
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*                                                       */
/*-------------STYLE DU BOUTON TOGGLE GLISSANY-----------*/
/*                                                       */
#toggleWrap.toggle-wrapper {
    display: flex;
    align-items: center;
    color: var(--dark_text_color);
}

#toggle.toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 30px;
    transition: background-color 0.3s;
    cursor: pointer;
    border-style: solid;
    box-shadow: 0.5px -0.5px 3px 0px rgba(0, 0, 0, 0.5);
}

#toggleCircle.toggle-circle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    transition: left 0.3s;
}

#toggle.toggle.actif {
    background-color: var(--active_color, var(--Color1));
}

#toggle.toggle.actif .toggle-circle {
    left: 33px;
}

#toggleWrap.rebill {
    width: fit-content;
}

/*------------------------------------------------ */

/* ANIMATIONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
[data-animation] .modal-dialog {
    opacity: 0;
    transition: opacity 0.5s var(--bounceEasing), transform 0.5s var(--bounceEasing);
}

[data-animation].is-visible .modal-dialog {
    opacity: 1;
    transition-delay: 0.2s;
}

[data-animation="slideInOutDown"] .modal-dialog {
    transform: translateY(100%);
}

[data-animation="slideInOutTop"] .modal-dialog {
    transform: translateY(-100%);
}

[data-animation="slideInOutLeft"] .modal-dialog {
    transform: translateX(-100%);
}

[data-animation="slideInOutRight"] .modal-dialog {
    transform: translateX(100%);
}

[data-animation="zoomInOut"] .modal-dialog {
    transform: scale(0.2);
}

[data-animation="rotateInOutDown"] .modal-dialog {
    transform-origin: top left;
    transform: rotate(-1turn);
}

[data-animation="mixInAnimations"].is-visible .modal-dialog {
    animation: mixInAnimations 2s 0.2s linear forwards;
}

[data-animation="slideInOutDown"].is-visible .modal-dialog,
[data-animation="slideInOutTop"].is-visible .modal-dialog,
[data-animation="slideInOutLeft"].is-visible .modal-dialog,
[data-animation="slideInOutRight"].is-visible .modal-dialog,
[data-animation="zoomInOut"].is-visible .modal-dialog,
[data-animation="rotateInOutDown"].is-visible .modal-dialog {
    transform: none;
}

@keyframes blinkColor {
    0%,
    100% {
        color: var(--bright_text_color);
    }

    /* Rouge vif */
    50% {
        color: var(--Color5);
    }

    /* Noir ou couleur neutre */
}

@keyframes mixInAnimations {
    0% {
        transform: translateX(-100%);
    }

    10% {
        transform: translateX(0);
    }

    20% {
        transform: rotate(20deg);
    }

    30% {
        transform: rotate(-20deg);
    }

    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    60% {
        transform: rotate(10deg);
    }

    70% {
        transform: rotate(-10deg);
    }

    80% {
        transform: rotate(5deg);
    }

    90% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ============================================================
   Composant : menu déroulant (Design System)
   Spec : aidd_docs/design-system/dropdown-menu.md
   Usage : .dropdown-menu (conteneur) + .dropdown-item (lien) +
           .dropdown-divider (séparateur) + .user-greeting (header).
   Cascade : sur desktop, le composant est imbriqué dans #topline.
   La règle #topline a (1,0,1) override .dropdown-item par défaut.
   Les overrides #topline .dropdown-item (1,1,0) ci-dessous gagnent
   sans !important. Toute modification doit conserver ce niveau.
   ============================================================ */

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--menu-bg, #ffffff);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 4px;
}

.user-greeting {
    padding: 12px 16px 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--menu-text, #333333);
    border-bottom: 1px solid var(--menu-divider, #e9ecef);
    margin-bottom: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--menu-text, #333333);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: var(--menu-hover-bg, #f5f5f5);
    color: var(--menu-text, #333333);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--menu-divider, #e9ecef);
    margin: 4px 0;
}

.dropdown-item i {
    width: 16px;
    font-size: 14px;
}

/* Override cascade #topline a (1,0,1) → #topline .dropdown-item (1,1,0) */
#topline .dropdown-item,
#topline .user-greeting {
    color: var(--menu-text, #333333);
}

#topline .dropdown-item:hover {
    color: var(--menu-text, #333333);
    text-decoration: none;
}

#user-menu-btn {
    transition: background-color 0.2s ease, border-radius 0.2s ease;
}

#user-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px;
}

#user-icon {
    transition: color 0.3s ease;
}

#user-icon.connected {
    color: #007bff !important;
}

#user-icon.disconnected {
    color: #666 !important;
}

/* Styles pour le burger menu */
#burger-menu-btn {
    transition: background-color 0.2s ease, border-radius 0.2s ease;
}

#burger-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px;
}

#burger-menu-btn i {
    transition: color 0.3s ease;
}

/* ============================================================
   UNIFIED HEADER
   ============================================================ */

#main-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--Color1);
    gap: 15px;
}

#main-header #LogoWrap {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
}

#main-header #LogoWrap a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#main-header #Chevron1,
#main-header #Chevron2 {
    filter: brightness(0) invert(1);
}

#main-header #burger-menu-btn,
#main-header #user-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: white;
    font-size: 18px;
}

#main-header #burger-menu-btn:hover,
#main-header #user-menu-btn:hover {
    opacity: 0.8;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Nav links inside header */
#DynamicMenu {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

/* Menu dynamique mobile : pleine largeur, position fixed sous le header (top positionné par JS, scoped mobile) */
@media only screen and (max-width: 767px) {
    #DynamicMenu-mobile.dropdown-menu {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        border-radius: 0 0 8px 8px;
        z-index: 9999;
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Nav link styles */
#DynamicMenu a {
    color: var(--bright_text_color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

#DynamicMenu a:hover {
    opacity: 0.8;
}

/* CTA "Réserver" */
#DynamicMenu a.menu-cta {
    background: white;
    color: var(--Color3) !important;
    border: 2px solid white;
    border-radius: 25px;
    padding: 8px 22px;
    font-weight: 600;
    margin-left: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#DynamicMenu a.menu-cta:hover {
    background: transparent;
    color: white !important;
}

/* Desktop: show nav, hide burger */
@media only screen and (min-width: 768px) {
    #DynamicMenu {
        display: flex;
    }

    #burger-menu-btn {
        display: none !important;
    }

    #user-menu-btn {
        display: none;
    }

    #mobile-flags {
        display: none;
    }
}

/* Tablet: constrain logo width so the nav menu stays visible */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #main-header #LogoWrap {
        max-width: 180px;
        flex-shrink: 1;
    }

    #main-header #LogoWrap img,
    #main-header #Logo {
        max-width: 100%;
        height: auto;
    }
}

/* Mobile: hide nav, show burger */
@media only screen and (max-width: 767px) {
    #DynamicMenu {
        display: none !important;
    }

    #main-header {
        padding: 8px 12px;
    }

    #main-header #LogoWrap {
        height: 30px;
    }

    #main-header #LogoWrap img {
        max-height: 30px;
        width: auto;
    }

    #topline {
        display: none !important;
    }
}

/* Mobile dropdown menu : liens et hover gérés par .dropdown-item (composant DS) */
#DynamicMenu-mobile a.menu-cta {
    background: var(--Color3);
    color: white !important;
    border: 2px solid var(--Color3);
    border-radius: 25px;
    margin: 8px 12px;
    padding: 8px 16px;
    text-align: center;
    justify-content: center;
    font-weight: 600;
}

#DynamicMenu-mobile a.menu-cta:hover {
    background: transparent;
    color: var(--Color3) !important;
}

/* Styles pour les contenus de pages */
#Home,
#PointsVente,
#Forfaits,
#Reserver,
#FAQ,
#Contact,
#Profil {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive pour mobile */
@media only screen and (max-width: 767px) {
    /* Contenus avec marges supprimées en mobile */
    #Home,
    #PointsVente,
    #Forfaits,
    #Reserver,
    #FAQ,
    #Contact,
    #Profil {
        margin: 0;
        padding: 0;
    }

    #HdCaption {
        font-size: 1em;
        bottom: 12px;
        left: 12px;
    }
} /* Test live reload */

/* ===== Utility classes (extracted from JS inline styles) ===== */
body.scroll-locked {
    overflow: hidden;
}

.opacity-dim {
    opacity: 0.2;
}

.opacity-half {
    opacity: 0.5;
}

.notification-slide-in {
    transform: translateX(0);
}

.notification-slide-out {
    transform: translateX(100%);
}

#Flags {
    text-align: right;
}

#Flags.flags-expanded {
    text-align: center;
}

/* ===== Pricing Cards (vue voyageurs) ===== */
.pv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pv-card {
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pv-card-header {
    padding: 24px 24px 16px;
    text-align: center;
}

.pv-card-mode {
    font-size: 2em;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pv-card-subtitle {
    font-size: 0.95em;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.pv-card-prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.pv-card-price-col {
    text-align: center;
    padding: 20px 12px;
}

.pv-card-price-col:first-child {
    border-right: 1px solid;
    border-color: inherit;
}

.pv-card-amount {
    font-size: 2.4em;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.pv-card-period {
    font-size: 0.9em;
    font-weight: 600;
}

.pv-card-period-en {
    font-size: 0.8em;
    opacity: 0.6;
    font-style: italic;
}

.pv-card-footer {
    padding: 12px 24px;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid;
}

@media only screen and (max-width: 480px) {
    .pv-grid {
        grid-template-columns: 1fr;
    }

    .pv-card-amount {
        font-size: 2em;
    }
}

/* Dashboard Machines canvas */
.canvas-nav-band {
    position: absolute;
    top: 0;
    width: 8%;
    height: 100%;
    z-index: 10;
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.canvas-nav-left {
    left: 0;
    background: linear-gradient(to left, transparent, rgba(200,200,200,0.6));
}
.canvas-nav-right {
    right: 0;
    background: linear-gradient(to right, transparent, rgba(200,200,200,0.6));
}
.canvas-nav-band:hover {
    background: rgba(255,255,255,0.9);
    color: #000;
}

/* ===========================
   TOPLINE
   =========================== */
#topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: color-mix(in srgb, var(--Color3) 35%, black 65%);
    color: #fff;
    font-size: 0.75em;
    padding: 2px 20px;
    z-index: 1001;
    position: relative;
}

.topline-left,
.topline-center,
.topline-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topline-center {
    flex: 1;
    justify-content: center;
}

.topline-right {
    justify-content: flex-end;
}

#topline a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

#topline a:hover {
    color: #fff;
    text-decoration: underline;
}

#topline-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

#topline-auth a.topline-cta {
    color: var(--Color1);
    font-weight: 600;
}

#topline-auth a.topline-cta:hover {
    color: var(--Color1);
    opacity: 0.85;
    text-decoration: underline;
}

.topline-user-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.2s;
}

.topline-user-btn:hover {
    color: #fff;
}

.topline-user-btn .fa-caret-down {
    font-size: 0.75em;
    opacity: 0.8;
}

#topline .language-trigger,
#main-header .language-trigger {
    color: rgba(255, 255, 255, 0.85);
}

#topline .language-trigger:hover,
#main-header .language-trigger:hover {
    color: #fff;
}

/* ===========================
   HOME FEATURES (à cheval hero/content)
   =========================== */
/* Overlay hero : gradient concentré sur la zone texte gauche */
#HeroWrap .page-header-hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.88) 30%, rgba(0,0,0,0.35) 55%, transparent 75%);
}

/* HeroWrap : aligner le texte à gauche, centré verticalement via flex */
#HeroWrap {
    justify-content: flex-start;
}

/* Texte hero : en flux flex, centré verticalement, limité en largeur */
#HeroWrap #HeroContent {
    position: relative;
    z-index: 2;
    max-width: 44%;
    padding: 0 0 60px 40px;
    text-align: left;
    display: block;
}

#HeroWrap #HeroContent h1 {
    font-size: 2em;
    line-height: 1.25;
    margin: 0 0 12px 0;
}

#HeroWrap #HeroContent p {
    font-size: 0.95em;
    margin: 0;
    opacity: 0.88;
    line-height: 1.6;
}

/* Features : centrées en bas de la photo, pas full-width */
#home-features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 70%;
    max-width: 960px;
    border-top: 3px solid var(--Color1);
}

.home-feature-card {
    background: rgba(0, 0, 0, 0.72);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78em;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
}

.home-feature-card:last-child {
    border-right: none;
}

.home-feature-card:hover {
    background: rgba(0, 0, 0, 0.88);
}

.home-feature-card i {
    font-size: 1.3em;
    color: var(--Color1);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .home-features-grid {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
    }
    .home-feature-card {
        padding: 10px 10px;
        font-size: 0.85em;
    }
    #HeroWrap #HeroContent {
        max-width: 65%;
    }
}

@media (max-width: 480px) {
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    #HeroWrap #HeroContent {
        max-width: 100%;
        padding: 0 20px 70px;
    }
}

/* =============================================
   DS Utility Classes — tabs, status dots, stat cards
   ============================================= */

.ds-tab-active {
    padding: 10px 20px;
    border: 2px solid var(--Color3);
    background: var(--Color3);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.ds-tab-inactive {
    padding: 10px 20px;
    border: 2px solid var(--Color3);
    background: transparent;
    color: var(--Color3);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.ds-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.ds-status-online  { background: var(--Color6); }
.ds-status-offline { background: var(--Color5); }

.ds-card-stat {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ===== QrCodeContent view ===== */

.qrc-card {
    width: 90%;
    max-width: 480px;
    margin: 24px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 28px 28px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

@media (max-width: 480px) {
    .qrc-card {
        width: 95%;
        padding: 20px 16px;
    }
}

.qrc-greeting {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.qrc-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#QrCodeImage {
    display: flex;
    width: 220px;
    height: 220px;
    background: white !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 8px;
    border: 1.5px solid #eee;
    color-scheme: only light;
    forced-color-adjust: none;
}

#QrCodeImage canvas,
#QrCodeImage img {
    background: white !important;
    filter: invert(0) !important;
    padding: 8px !important;
    max-width: 100%;
    max-height: 100%;
}

.qrc-label {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin: 0 0 4px;
    line-height: 1.5;
}

.qrc-label-bis {
    font-size: 0.85em;
    color: #888;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

#RedirectResa.Button {
    width: 100%;
    justify-content: center;
    margin: 4px 0 16px;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.qrc-divider {
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0 12px;
}

#QRIssueBlock,
#NetworkBlock {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 8px;
    border: none;
    background: none;
    padding: 0;
    border-radius: 0;
}

#QRIssueBlock a,
.qrc-issue-link {
    font-size: 0.88em;
    color: var(--Color3);
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
}

#InstructQRIssue {
    font-size: 0.85em;
    color: #555;
    line-height: 1.5;
    margin-top: 6px;
    text-align: center;
    cursor: pointer;
}

#NetworkBlock select {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    font-size: 0.9em;
}

#SponsorBlock {
    width: 100%;
    margin-top: 8px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--Color1) 15%, white 85%);
    padding: 16px 14px;
    box-sizing: border-box;
    border: 1.5px solid color-mix(in srgb, var(--Color1) 35%, white 65%);
    text-align: center;
}

#SponsorInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrc-sponsor-icon {
    font-size: 1.8em;
    color: var(--Color4);
    margin-bottom: 2px;
}

.qrc-sponsor-title {
    font-size: 1em;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.qrc-sponsor-sub {
    font-size: 0.82em;
    color: #666;
    margin: 0 0 4px;
    line-height: 1.4;
}

.qrc-sponsor-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.qrc-sponsor-btn.Button {
    width: 100%;
    margin: 4px 0 0;
    justify-content: center;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    box-sizing: border-box;
}

.qrc-sponsor-skip {
    font-size: 0.8em;
    color: #aaa;
    cursor: pointer;
    text-decoration: underline;
}

#FormSponsor {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

#FormSponsor input,
#selectPrefixSponso {
    font-size: 0.9em;
    border-radius: 8px;
    padding: 8px 10px;
    border: 1.5px solid #ddd;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    outline: none;
}

#FormSponsor input:focus,
#selectPrefixSponso:focus {
    border-color: var(--Color3);
}

#CityZipcode,
#SponsoPrefixLang {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

#SponsorFormBtn {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-end;
}

#SponsorFormBtn .Button {
    width: auto;
    margin: 0;
    padding: 8px 16px;
    font-size: 0.9em;
}

/* Registration form view — prefix: reg- */

/* -------------------------------------------------------
   formInput — classe partagée des champs texte du formulaire
   ------------------------------------------------------- */
.formInput {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 1em;
    background: white;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.formInput:focus {
    border-color: var(--Color3);
}

.formInput::placeholder {
    color: #aaa;
}

/* -------------------------------------------------------
   RegFormColumns — wrapper visible en login et register
   ------------------------------------------------------- */
#RegFormColumns {
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
}

/* Carte unique conteneur — toujours présente */
.reg-main-card {
    width: 90%;
    max-width: 560px;
    margin: 0 auto;
    padding: 28px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 480px) {
    .reg-main-card {
        width: 95%;
        padding: 20px 16px;
    }
}

/* -------------------------------------------------------
   Texte introductif
   ------------------------------------------------------- */
.reg-intro {
    margin: 0 0 20px;
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    text-align: center;
}

/* -------------------------------------------------------
   Row 1 : colonne unique en mode register
   ------------------------------------------------------- */
.reg-fields-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}



/* -------------------------------------------------------
   #Log_Form — neutralise la card de login.css quand dans .reg-main-card
   ------------------------------------------------------- */
.reg-main-card #Log_Form:not(.show) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .reg-main-card #Log_Form:not(.show) {
        width: 100%;
        padding: 0;
    }
}

/* -------------------------------------------------------
   #RegFieldsCard — colonne droite en register
   ------------------------------------------------------- */
#RegFieldsCard {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 16px;
}

/* -------------------------------------------------------
   Séparateur entre les deux rows (visible uniquement en register)
   ------------------------------------------------------- */
.reg-section-sep {
    display: none;
}

body.register-mode .reg-section-sep {
    display: block;
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    margin: 8px 0;
}

/* -------------------------------------------------------
   #SubBlock — bloc vérification pleine largeur sous les colonnes
   ------------------------------------------------------- */
body.register-mode #SubBlock {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    box-sizing: border-box;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

/* -------------------------------------------------------
   Field group — error above input
   ------------------------------------------------------- */
.reg-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

/* Required / Optional badges */
.reg-field-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.reg-field-label {
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
}

.reg-optional-badge {
    font-size: 0.75em;
    font-weight: 500;
    color: #888;
    background: #f0f0f0;
    border-radius: 4px;
    padding: 1px 6px;
}

.reg-required-badge {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--Color3);
    background: color-mix(in srgb, var(--Color3) 12%, transparent);
    border-radius: 4px;
    padding: 1px 6px;
}

/* -------------------------------------------------------
   Override multivitrines.css — #Name/#Email/#CodeImg/#PromoCode
   ont border:none, text-align:center, border-radius:15px qui écrasent
   .formInput. On force le style design system.
   ------------------------------------------------------- */
body.register-mode #RegFieldsCard #Name,
body.register-mode #RegFieldsCard #Email,
body.register-mode #SubBlock #CodeImg,
body.register-mode #SubBlock #PromoCode {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    text-align: left;
    padding: 10px 14px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    min-width: 0;
    background: white;
    color: #333;
    font-size: 1em;
    outline: none;
    transition: border-color 0.2s;
}

body.register-mode #RegFieldsCard #Name:focus,
body.register-mode #RegFieldsCard #Email:focus,
body.register-mode #SubBlock #CodeImg:focus {
    border-color: var(--Color3);
}

/* Hide input min-width override from #SubBlock global rule */
#SubBlock .formInput,
#RegFieldsCard input[type="text"] {
    min-width: 0;
}

/* -------------------------------------------------------
   Error messages
   ------------------------------------------------------- */
.reg-error {
    color: var(--Color5, #e53e3e);
    font-size: 0.85em;
    font-weight: 500;
    padding: 0;
}

/* -------------------------------------------------------
   Captcha — remplit la zone du SubBlock
   ------------------------------------------------------- */
body.register-mode #SubBlock .captcha-section {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* -------------------------------------------------------
   CGU / SMS blocks — toggle switch
   ------------------------------------------------------- */
#CGUBlock,
#AcceptSMSBlock {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#ValidateCGU,
#ValidateSMS {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9em;
    color: #444;
    line-height: 1.5;
}

.reg-toggle-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
}

/* Hidden real checkbox — override min-width from #SubBlock input */
#SubBlock .reg-toggle-input {
    position: absolute;
    opacity: 0;
    min-width: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.reg-toggle-track {
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

.reg-toggle-track::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.reg-toggle-input:checked + .reg-toggle-track {
    background: var(--Color3);
}

.reg-toggle-input:checked + .reg-toggle-track::after {
    left: 22px;
}

/* -------------------------------------------------------
   Bouton S'inscrire
   ------------------------------------------------------- */
#SubBlock #SubscribeValid {
    background: linear-gradient(135deg, var(--Color3), var(--Color4)) !important;
    width: 100%;
    justify-content: center;
    margin: 4px 0;
    box-sizing: border-box;
}

/* "J'ai déjà un compte" — lien texte sous le bouton */
.reg-back-link {
    display: block;
    text-align: center;
    margin-top: 4px;
    font-size: 0.9em;
    color: var(--Color3);
    cursor: pointer;
    text-decoration: underline;
}

.reg-back-link:hover {
    color: var(--Color4);
}

/* -------------------------------------------------------
   Cacher .login-alt-action (lien "Créer un compte") en register
   ------------------------------------------------------- */
body.register-mode #PhoneBlock .login-alt-action {
    display: none;
}

/* -------------------------------------------------------
   Cacher le bouton Suivant en register (formulaire séparé)
   ------------------------------------------------------- */
body.register-mode #ValidatePhone {
    display: none !important;
}

/* -------------------------------------------------------
   .lf-intro — paragraphe d'intro inséré par initLoginForm
   En register il contient "Numéro de téléphone Obligatoire"
   ------------------------------------------------------- */
.lf-intro {
    margin: 0 0 12px 0;
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.register-mode .lf-intro {
    font-size: 0.85em;
}

/* Masquer le doublon PhoneInstruct en register (label déjà dans .lf-intro) */
body.register-mode #PhoneInstruct {
    display: none;
}

/* -------------------------------------------------------
   Couleur des liens CGU / SMS dans les toggles
   ------------------------------------------------------- */
#CGUtxt a,
#SMStxt a {
    color: var(--Color3);
    text-decoration: underline;
    cursor: pointer;
}

#CGUtxt a:hover,
#SMStxt a:hover {
    color: var(--Color4);
}


/* Réserver view — préfixe rv-* */

/* --- Section carrousel machines --- */
.rv-carousel-section { padding: 30px 0; }

.rv-carousel-wrap { position: relative; }

.rv-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0;
}

.rv-carousel-track::-webkit-scrollbar { display: none; }

.rv-slide {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    padding: 0 48px;
    box-sizing: border-box;
}

.rv-slide-header { margin-bottom: 16px; }

.rv-slide-header strong {
    display: block;
    font-size: 1.3em;
    color: var(--Color4);
}

.rv-slide-header span {
    font-size: 0.95em;
    color: #666;
}

.rv-machine-avail-bar-wrap {
    background: #e8e8e8;
    border-radius: 8px;
    height: 18px;
    overflow: hidden;
    margin-bottom: 10px;
}

.rv-machine-avail-bar {
    height: 100%;
    border-radius: 8px;
    transition: width 0.4s ease;
}

.rv-machine-avail-bar.rv-avail-good { background: var(--Color1, #27ae60); }
.rv-machine-avail-bar.rv-avail-mid  { background: #f39c12; }
.rv-machine-avail-bar.rv-avail-low  { background: #e74c3c; }

.rv-slide-avail-label {
    font-size: 1em;
    color: #555;
    margin: 0 0 16px;
}

.rv-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.4em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rv-carousel-btn.rv-prev { left: 4px; }
.rv-carousel-btn.rv-next { right: 4px; }
.rv-carousel-btn[disabled] { display: none; }

/* --- Section CTA --- */
.rv-cta-section { padding: 40px 0; }

.rv-cta-wrap {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rv-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.2s, transform 0.1s;
}

.rv-btn:active { transform: scale(0.97); }

.rv-btn-primary {
    background: var(--Color1);
    color: #fff;
    border-color: var(--Color1);
}

.rv-btn-secondary {
    background: transparent;
    color: var(--Color4);
    border-color: var(--Color4);
}

.rv-btn:hover { opacity: 0.85; }

/* --- Section heatmap trafic (Booking8) --- */
.rv-heatmap-section { padding: 32px 0 24px; }

.rv-heatmap-title {
    font-size: 1.1em;
    color: var(--Color4);
    margin: 0 0 6px;
}

.rv-heatmap-hint {
    font-size: 0.88em;
    color: #888;
    margin: 0 0 14px;
}

.rv-heatmap-wrap { overflow-x: auto; }

.rv-heatmap-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 280px;
}

.rv-heatmap-table th {
    font-size: 0.78em;
    color: #666;
    font-weight: 500;
    padding: 0 4px 6px;
    text-align: center;
}

.rv-hm-day {
    font-size: 0.82em;
    color: #555;
    padding-right: 8px;
    white-space: nowrap;
}

.rv-hm-cell {
    width: 40px;
    height: 28px;
    border-radius: 4px;
    margin: 2px;
}

.rv-hm-none  { background: #eee; }
.rv-hm-low   { background: #a8d8a8; }
.rv-hm-mid   { background: #f0c060; }
.rv-hm-high  { background: #e88040; }
.rv-hm-peak  { background: #d94040; }

.rv-heatmap-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.82em;
    color: #666;
}

.rv-hm-legend-item {
    display: inline-block;
    width: 18px;
    height: 14px;
    border-radius: 3px;
}

@media (max-width: 480px) {
    .rv-hm-cell { width: 28px; height: 22px; }
}

.sp-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: 1fr auto;
    min-height: calc(100vh - 120px);
}

.sp-client-list {
    grid-row: 1 / 3;
    overflow-y: auto;
    background: white;
    border-right: 1px solid #e0e0e0;
}

.sp-client-card {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.sp-client-card:hover {
    background: #f5f5f5;
}

.sp-client-card.active {
    background: var(--Color3, #0981bc);
    color: white;
}

.sp-client-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-client-preview {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-client-card.active .sp-client-preview {
    color: rgba(255, 255, 255, 0.75);
}

.sp-pastille {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--Color5, #e15154);
    color: white;
    font-size: 11px;
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    line-height: 18px;
    padding: 0 4px;
}

.sp-conversation {
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fafafa;
}

.sp-empty {
    padding: 16px;
    color: #999;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    text-align: center;
}

.sp-bubble {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.sp-bubble.client {
    align-self: flex-start;
    background: #efefef;
    color: #333;
    border-bottom-left-radius: 2px;
}

.sp-bubble.worker {
    align-self: flex-end;
    background: var(--Color3, #0981bc);
    color: white;
    border-bottom-right-radius: 2px;
}

.sp-read-mark {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    opacity: 0.6;
    cursor: default;
}

.sp-form {
    padding: 12px;
    border-top: 1px solid #e0e0e0;
    background: white;
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.sp-form textarea {
    flex: 1;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.15s;
}

.sp-form textarea:focus {
    border-color: var(--Color3, #0981bc);
}

.sp-form-file-label {
    cursor: pointer;
    padding: 8px;
    color: #888;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.sp-form-file-label:hover {
    color: var(--Color3, #0981bc);
}

.sp-form button {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--Color3, #0981bc);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.sp-form button:hover {
    background: var(--Color4, #254e89);
}

.sp-form button:disabled {
    background: #ccc;
    cursor: default;
}

.sp-ai-hint {
    font-style: italic;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .sp-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        min-height: calc(100vh - 120px);
    }

    .sp-client-list {
        grid-row: auto;
        max-height: 200px;
    }
}
