/**
 * 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: all 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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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);
}

/* 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: 768px) {
    .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;
    }
}

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

/* Animations avancées */
@media (prefers-reduced-motion: no-preference) {
    .language-option {
        transition: all 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;
}

/* Overlay pour mobile */
@media (max-width: 768px) {
    .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;
    }
}

/* 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;
    }
}
/**
 * Styles pour les pages de modes dynamiques
 * Mode Pages CSS - Affichage des pages par mode activé
 */

/* ==========================================================================
   CONTENEURS DE PAGES DE MODE
   ========================================================================== */

.mode-page {
    display: none;
    min-height: 400px;
    padding: 2rem 1rem;
    color: var(--text-color, #333333);
    animation: fadeIn 0.3s ease-in-out;
}

.mode-page.active {
    display: block;
}

/* ==========================================================================
   LIENS DE MENU DYNAMIQUE
   ========================================================================== */

/* Styles pour les liens de mode ajoutés au menu dynamique */
#DynamicMenu a[data-mode] {
    position: relative;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablettes */
@media (max-width: 1024px) {
    .mode-page {
        padding: 1.5rem 1rem;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .mode-page {
        padding: 1rem 0.5rem;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media only screen and (orientation: portrait) {
    body {
        font-size: 16px;
    }

    #ModalBox {
        aspect-ratio: 0.6;
        margin: 0;
        width: auto;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .QRContentBlockAction {
        width: -webkit-fill-available;
    }

    #QrCodeImage {
        display: flex;
        aspect-ratio: 1;
        width: auto;
        max-width: 500px;
        background: white;
        margin: auto;
        align-items: center;
        justify-content: center;
        margin: 1rem 0;
    }

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

    .SelectDuration {
        font-size: large;
        line-height: 1.5;
    }

    /*.Header img {
	height: 70px;
	}*/
    /*#MessagesBubbles {
	top: 110px;
	bottom: 100px;
	}*/
}

@media only screen and (orientation: landscape) {
    body {
        font-size: 16px;
    }

    #ModalBox {
        margin: 1% 15%;
        width: 70%;
        min-height: 98%;
        padding: 0 5px;
        box-sizing: border-box;
    }

    #QrCodeImage {
        display: flex;
        aspect-ratio: 1;
        width: auto;
        max-width: 500px;
        background: white;
        align-items: center;
        justify-content: center;
        margin: 1rem 0;
    }

    .QRContentBlockAction {
        width: -webkit-fill-available;
        max-width: 500px;
    }

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

    /*.Header img {
	height: 50px;
	}*/
    /*#MessagesBubbles {
	top: 90px;
	bottom: 60px;
	}*/
}

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

body {
    font-family: sans-serif;
    background-image: url(../img/default.png);
}

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;
}

/*
#SearchField {
border-radius:30px;
padding:10px;
border:none;
width:60%;
}
#SearchButton {
width: 40px;
height: 40px;
bottom: 10px;
right: 35px;
color: var(--dark_text_color);
background-image: linear-gradient(to top, var(--Color1), var(--Color2));
border-radius: 30px;
padding: 10px;
border: none;
}
.Interlocutor {
padding:10px;
}
.ProfilPicture {
float:left;
border-radius: 5px;
height: 50px;
background-color: var(--dark_text_color);
margin-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%;
}

/* LA BOITE MODALE ET LES ELEMENTS D'IDENTIFICATION */
#HdBackground {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    height: 100%;
    filter: blur(4px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#ModalShadow {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0)
    );
}

#ModalBox {
    color: var(--bright_text_color);
    text-align: center;
    background-image: url(../img/default.png);
    border-radius: 20px;
    border: none;
    padding: 20px;
    filter: none;
}

#LogoWrap {
    height: 80px;
    /*margin: 15px 0px 15px 0px;*/
}

/* senser réglé le problème du thème sur les telephones*/
#QrCodeImage,
#QrCodeImage canvas,
#QrCodeImage img {
    background: white !important;
    color-scheme: only light;
    forced-color-adjust: none;
    filter: invert(0) !important;
}

#QrCodeImage canvas,
#QrCodeImage img {
    padding: 10px !important;
}

#Chevron1,
#Chevron2 {
    height: 80px;
    transition: width 1s;
    transition: height 1s;
}

#Logo {
    height: 0px;
    max-width: 100%;
    transition: height 1s;
}

#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: cornflowerblue;
}

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

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

#CodeBlock {
    margin-top: 20px;
}

#GetPhoneBlock {
    display: flex;
    flex-direction: column;
    background: white;
    align-self: center;
    font-size: 1em;
    /*padding: 10px;*/
    border: none;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    border-radius: 15px 15px 15px 15px;
}

#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;
}

#SubBlock input {
    /* width: auto; */
    min-width: 80%;
}

#CaptchaTxt {
    background: white;
    width: 90%;
    border-radius: 10px 10px 0 0;
    padding-bottom: 5px;
}

/* #SubscribeInstruct {
	width: 90%;
} */

#SubBlock img {
    width: 90%;
    border: none;
    border-radius: 0 0 10px 10px;
    background: white;
    padding-bottom: 10px;
}

#SubBlock .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;
}

.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 {
    background: #89e975 !important;
}

#Phone,
#PrefixPhone {
    /* width: auto; */
    width: -webkit-fill-available;
    font-size: 1em;
    padding: 10px;
    background: #eeeeee;
    text-align: center;
    border: 1px solid;
    border-color: lightgray;
    border-radius: 0 0 10px 10px;
}

input.green-background {
    background-color: #b0ffa0 !important;
    background-image: none !important;
}

#PrefixPhone {
    width: 10%;
    font-family: sans-serif;
}

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

#CountryCode {
    width: -webkit-fill-available;
    /* max-width: 90%; */
    overflow-block: clip;
    font-size: 1em;
    padding: 10px;
    border: 1px #eeeeee;
    border-radius: 10px 10px 0 0;
    /* margin-bottom: 5px; */
    text-align: center;
}

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

.Button {
    display: flex;
    color: var(--bright_text_color);
    background: linear-gradient(to top, var(--Color2), var(--Color1));
    border-radius: 20px;
    padding: 10px;
    border: none;
    margin: 10px;
    width: 40%;
    display: inline-block;
    font-weight: bold;
    opacity: 1;
    box-shadow: 0.5px -0.5px 0px 0px rgba(0, 0, 0, 0.5);
}

/* .Button {
	display: flex;
	color: var(--bright_text_color);
	background: linear-gradient(to top, var(--Color2), var(--Color1));
	border-radius: 20px;
	padding: 10px;
	border: none;
	margin: 2%;
	width: 46%;
	display: inline-block;
	font-weight: bold;
	opacity: 1;
	box-shadow: 0.5px -0.5px 0px 0px rgba(0, 0, 0, 0.5);
} */

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

.Button.a_disabled {
    pointer-events: none;
    opacity: 0.5;
}

.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;
}

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

#SubscribeValid {
    background: #89e975 !important;
}

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

#ResaRecap {
    display: flex;
    align-items: self-start;
    flex-direction: column;
    background-color: color-mix(in srgb, var(--Color6) 100%, transparent 80%);
    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;
}


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

#QrCodeContent {
    text-align: center;
}

#HelpMenuContent {
    border-radius: 20px;
    align-items: start;
}

#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);
}

#GetSponsorGift,
#NetworkBlock,
#QRIssueBlock,
#RedirectResa {
    font-weight: bold;
    background-color: color-mix(in srgb, var(--Color1) 80%, var(--Color3) 10%);
    border-radius: 10px;
    padding: 5px;
    text-align: center;
}

#NetworkBlock,
#QRIssueBlock,
#RedirectResa {
    display: flex;
    margin: 0.75rem 0;
    width: -webkit-fill-available;
    flex-direction: column;
    align-items: center;
}

#FormSponsor {
    display: flex;
    flex-direction: column;
    background: color-mix(in srgb, var(--Color1) 80%, white 20%);
    border-radius: 10px;
    padding: 5px;
    gap: 10px;
    /*width: 100%;*/
}

#FormSponsor input,
#selectPrefixSponso,
#selectLangSponso {
    font-size: 1em;
    border-radius: 10px;
    padding: 5px;
    border: none;
    margin: 0 5%;
    text-align: left;
    width: auto;
    /*min-width: 80%;*/
}

#selectPrefixSponso,
#CityZipcode #SponsoZipCode {
    font-size: medium;
    min-width: 0;
    width: 37.5%;
    margin: 0 2.5% 0 5%;
}

#selectLangSponso,
#CityZipcode #SponsoCity {
    min-width: 0;
    width: 47.5%;
    margin: 0 5% 0 2.5%;
}

#CityZipcode #SponsoZipCode {
    margin: 0 5% 0 2.5%;
}

#CityZipcode #SponsoCity {
    margin: 0 2.5% 0 5%;
}

#IgnoreSponsor {
    display: flex;
    align-self: end;
    font-size: smaller;
    color: cornflowerblue;
}

#SelectNetwork {
    padding: 3px;
    border-radius: 5px;
    font-size: 1rem;
    max-width: 90%;
}

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

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

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

#ModalFooter {
    position: relative;
    bottom: 0px;
    color: grey;
    font-size: 0.8em;
    padding: 5px;
}

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

#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;
}

/*
.SingleBook div,
.SingleTransac div,
.SingleLocker div {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-left: 5px;
	margin-right: 5px;
	border-radius: 10px;
	text-align: center;
	color: var(--dark_text_color);
} */
/* .SingleTransac div.divmoney {
	flex-direction: row;
	justify-content: space-around;
	margin-bottom: 5px;
}

.SingleTransac div.date {
	flex-direction: row;
	justify-content: space-between;
}

.SingleTransac div.date div {
	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;
}

#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 {
	background: var(--Color1);
	color: var(--Color4);
	padding-bottom: 5px;
} */

.infoLock {
    padding: 5px;
    background: var(--Color1);
    color: (var(--bright_text_color));
    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 input {
	max-width: 30%;
	width: 20%;
} */

/* #infoLock div {
	flex-direction: row;
	color: var(--Color4);
} */

#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;
}

/* .SingleBook span,
.SingleTransac span,
.SingleLocker span {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	width: 90%;
	max-width: 90%;
	padding: 5px;
	text-align: left;
	color: var(--Color4);
	align-items: center;
} */

.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 .FormDisp {
	display: flex;
	width: 100%;
	background: var(--Color1);
	color: var(--bright_text_color);
	flex-direction: column;
	align-self: center;
	align-items: center;
	text-align: center;
	border: none;
	padding-top: 5px;
	position: relative;
} */

/* .SingleTransac .FormDisp form {
	background-color: color-mix(in srgb, var(--Color1) 80%, var(--Color3) 10%);
	border: none;
	border-radius: 10px;
	margin-bottom: 15px;
	width: 96%;
	margin-left: 2%;
	margin-right: 2%;
}

.SingleTransac .FormDisp div {
	margin-left: 0;
	margin-right: 0;
}

#infoLock .FormDisp input,
.SingleTransac #Desc,
.SingleTransac .FormDisp select {
	width: 80%;
	max-width: 80%;
	padding: 10px;
	border-radius: 10px;
	align-self: center;
	border: none;
	margin-top: 5px;
} */

.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;
}

#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-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 {
    padding-top: 20px;
    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-wrap: wrap;
    line-height: 2;
    align-items: center;
}

#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;
}

#EditName,
#EditPhone,
#EditCode,
#EditEmail {
    width: 10%;
    text-align: end;
}

#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);
}

/* Page containers */
.page-container {
    padding: 10px 0;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    padding: 20px 40px;
    font-size: 1.2em;
    background: white;
    color: var(--Color1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
}

/* Page headers */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3em;
    color: var(--Color1);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 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: var(--Color1);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

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

.btn-secondary {
    background: transparent;
    color: var(--Color1);
    border: 2px solid var(--Color1);
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--Color1);
    color: white;
}

/* Info sections */
.info-section {
    padding: 30px;
    background: linear-gradient(135deg, var(--Color1), var(--Color2));
    border-radius: 15px;
    color: white;
    text-align: center;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* 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: red;
    /* 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: all 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;
}

.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: all 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);
    }
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    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: #333;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 4px;
}

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

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #333;
}

.dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 4px 0;
}

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

#user-menu-btn {
    transition: all 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: all 0.2s ease;
}

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

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

/* Masquer le burger menu en desktop */
@media only screen and (min-width: 769px) {
    #burger-menu-btn {
        display: none;
    }
}

/* Menu dynamique pour desktop - pousse le contenu */
#DynamicMenu {
    display: none;
    background: white;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    width: 100%;
}

/* Menu dynamique mobile - dropdown */
#DynamicMenu-mobile {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    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;
}

/* Afficher toujours en desktop */
@media only screen and (min-width: 769px) {
    #DynamicMenu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 15px;
        margin: 10px 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

    #DynamicMenu a {
        display: inline-block;
        padding: 8px 12px;
        color: var(--Color1, #333);
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    #DynamicMenu a:hover {
        background-color: var(--Color1);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    #DynamicMenu a:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Ajustement pour landscape */
@media only screen and (orientation: landscape) and (min-width: 769px) {
    #DynamicMenu {
        margin: 10px 0;
        width: 100%;
    }
}

/* Styles pour les liens du menu mobile - style dropdown */
#DynamicMenu-mobile a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

#DynamicMenu-mobile a:hover {
    background-color: #f5f5f5;
    color: #333;
}

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

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

