/* /Components/Layout/Drawer.razor.rz.scp.css */
::deep .navigation-drawer[b-sbg7od8uc7] {
    --dxbl-drawer-panel-footer-justify-content: center;
    height: 93vh;
    max-height: 100%;
}

[b-sbg7od8uc7] .panel-open:not(.mobile) .menu-button {
    display: none;
}

@media (max-width: 768px) {
    [b-sbg7od8uc7] .panel-open:not(.mobile) .menu-button {
        display: inline-flex;
    }

    .mobile-drawer-closed .shading-copy[b-sbg7od8uc7] {
        display: none;
        visibility: hidden;
    }

    [b-sbg7od8uc7] .shading-copy {
        background-color: var(--dxbl-drawer-content-shading-bg);
        height: 100%;
        position: absolute;
        transition: opacity ease var(--dxbl-drawer-animation-duration);
        visibility: visible;
        width: 100%;
        z-index: 100;
        opacity: var(--dxbl-drawer-content-shading-opacity);
    }

    [b-sbg7od8uc7] .panel-open .shading-copy {
        opacity: 0;
        visibility: unset;
        height: unset;
    }
}
/* /Components/Layout/KomiAssistant.razor.rz.scp.css */
/* =========================================
   1. L'ECRAN DE CHARGEMENT (OVERLAY)
   ========================================= */
.komi-overlay[b-gi2l5rtdz1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7); /* Fond blanc semi-transparent */
    backdrop-filter: blur(4px); /* Effet de flou */
    z-index: 99998; /* Juste en dessous de la mascotte */
    animation: fadeIn-b-gi2l5rtdz1 0.3s ease-in-out;
}

@keyframes fadeIn-b-gi2l5rtdz1 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   2. LE CONTENEUR PRINCIPAL
   ========================================= */
.komi-container[b-gi2l5rtdz1] {
    position: fixed;
    /* IMPORTANT : On place la mascotte assez haut pour que le papier 
       ait la place de se dérouler sans toucher le bas de l'écran */
    bottom: 110px;
    right: 30px;
    z-index: 99999; /* Au-dessus de tout (Menu DevExpress inclus) */
    /* Etat caché par défaut */
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
    /* Animation d'entrée fluide */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

    /* Etat visible */
    .komi-container.visible[b-gi2l5rtdz1] {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

.komi-wrapper[b-gi2l5rtdz1] {
    position: relative;
    width: 250px; /* Vos dimensions demandées */
    display: flex;
    justify-content: center;
}

/* =========================================
   3. L'IMAGE DE LA MASCOTTE
   ========================================= */
.komi-avatar[b-gi2l5rtdz1] {
    width: 230px; /* Vos dimensions demandées */
    height: auto;
    position: relative;
    z-index: 10; /* L'image est au plan 10 */
    cursor: pointer;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

    .komi-avatar:hover[b-gi2l5rtdz1] {
        transform: scale(1.05);
    }

/* Animation respiration */
.breathing[b-gi2l5rtdz1] {
    animation: breathing-b-gi2l5rtdz1 2s infinite ease-in-out;
}

@keyframes breathing-b-gi2l5rtdz1 {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* =========================================
   4. LE PAPIER (Position & Z-Index corrigés)
   ========================================= */
.komi-paper-slot[b-gi2l5rtdz1] {
    position: absolute;
    /* Ajustement vertical pour coller à la fente de l'image agrandie */
    bottom: 25px;
    width: 90%;
    /* IMPORTANT : Z-Index 20 est > Z-Index 10 (Mascotte).
       Le papier s'affichera donc DEVANT la mascotte. */
    z-index: 20;
    display: flex;
    justify-content: center;
}

.komi-paper[b-gi2l5rtdz1] {
    background: #fff;
    width: 100%;
    min-height: 60px;
    /* SÉCURITÉ : Si le texte est trop long, on scrolle dedans 
       plutôt que de dépasser de l'écran */
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin; /* Scrollbar fine (Firefox) */

    padding: 15px 12px;
    border: 1px solid #dcdcdc;
    /* border-top: none; Optionnel : donne l'impression de sortir de la fente */
    border-radius: 0 0 6px 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
    /* Animation de sortie */
    transform-origin: top center;
    animation: printOut-b-gi2l5rtdz1 0.5s ease-out forwards;
}

@keyframes printOut-b-gi2l5rtdz1 {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(80%);
        opacity: 1;
    }
}

.paper-content[b-gi2l5rtdz1] {
    margin-top: 5px;
}

/* =========================================
   5. BOUTONS & UTILITAIRES
   ========================================= */
.komi-actions[b-gi2l5rtdz1] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.komi-btn[b-gi2l5rtdz1] {
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    font-weight: 600;
}

    .komi-btn:active[b-gi2l5rtdz1] {
        transform: scale(0.95);
    }

.btn-primary[b-gi2l5rtdz1] {
    background-color: #0093d0;
    color: white;
}

    .btn-primary:hover[b-gi2l5rtdz1] {
        background-color: #007bb0;
    }

.btn-secondary[b-gi2l5rtdz1] {
    background-color: #f1f1f1;
    color: #444;
}

    .btn-secondary:hover[b-gi2l5rtdz1] {
        background-color: #e0e0e0;
    }

.close-btn[b-gi2l5rtdz1] {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

    .close-btn:hover[b-gi2l5rtdz1] {
        color: #d9534f;
    }

.spinner-dots[b-gi2l5rtdz1] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #0093d0;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin-b-gi2l5rtdz1 0.8s linear infinite;
}

@keyframes spin-b-gi2l5rtdz1 {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Layout/KomiChat.razor.rz.scp.css */
/* =========================================================
   Widget de chat Komi — assistant FAQ du portail
   Couleurs Konica Minolta : bleu #0062C2 / #0093d0, rose #C0167B
   ========================================================= */

.komi-chat[b-eaok1vgzsq] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99990; /* sous le popup KomiAssistant (99999) */
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Bouton lanceur (bulle) ---------- */
.komi-chat-launcher[b-eaok1vgzsq] {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0062C2 0%, #0093d0 100%);
    box-shadow: 0 6px 18px rgba(0, 98, 194, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: auto;
}

    .komi-chat-launcher:hover[b-eaok1vgzsq] {
        transform: scale(1.06);
        box-shadow: 0 8px 22px rgba(0, 98, 194, 0.5);
    }

    .komi-chat-launcher.is-open[b-eaok1vgzsq] {
        background: #0062C2;
        color: #fff;
        font-size: 1.4rem;
    }

.komi-launcher-avatar[b-eaok1vgzsq] {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

.komi-launcher-badge[b-eaok1vgzsq] {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #C0167B;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: komi-pop-b-eaok1vgzsq 0.4s ease-out;
}

@keyframes komi-pop-b-eaok1vgzsq {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ---------- Panneau de chat ---------- */
.komi-chat-panel[b-eaok1vgzsq] {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 370px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100vh - 130px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: komi-slide-up-b-eaok1vgzsq 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes komi-slide-up-b-eaok1vgzsq {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- En-tête ---------- */
.komi-chat-header[b-eaok1vgzsq] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #0062C2 0%, #0093d0 100%);
    color: #fff;
}

.komi-chat-avatar[b-eaok1vgzsq] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    padding: 3px;
    object-fit: contain;
}

.komi-chat-titles[b-eaok1vgzsq] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex-grow: 1;
}

.komi-chat-name[b-eaok1vgzsq] {
    font-weight: 700;
    font-size: 1rem;
}

.komi-chat-status[b-eaok1vgzsq] {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.komi-dot[b-eaok1vgzsq] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #46d369;
    display: inline-block;
    box-shadow: 0 0 0 rgba(70, 211, 105, 0.6);
    animation: komi-pulse-b-eaok1vgzsq 2s infinite;
}

@keyframes komi-pulse-b-eaok1vgzsq {
    0% { box-shadow: 0 0 0 0 rgba(70, 211, 105, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(70, 211, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(70, 211, 105, 0); }
}

.komi-chat-close[b-eaok1vgzsq] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    padding: 0 4px;
}

    .komi-chat-close:hover[b-eaok1vgzsq] {
        opacity: 1;
    }

/* ---------- Corps (messages) ---------- */
.komi-chat-body[b-eaok1vgzsq] {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 14px;
    background: #f5f7fa;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.komi-msg[b-eaok1vgzsq] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 88%;
}

    .komi-msg.from-bot[b-eaok1vgzsq] {
        align-self: flex-start;
    }

    .komi-msg.from-user[b-eaok1vgzsq] {
        align-self: flex-end;
        flex-direction: row-reverse;
    }

.komi-msg-avatar[b-eaok1vgzsq] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    object-fit: contain;
    flex-shrink: 0;
}

.komi-bubble[b-eaok1vgzsq] {
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    word-wrap: break-word;
}

/* Conserve les retours à la ligne (listes de commandes) */
.komi-bubble-text[b-eaok1vgzsq] {
    white-space: pre-line;
}

.from-bot .komi-bubble[b-eaok1vgzsq] {
    background: #fff;
    color: #2d3748;
    border-bottom-left-radius: 4px;
}

.from-user .komi-bubble[b-eaok1vgzsq] {
    background: linear-gradient(135deg, #0062C2 0%, #0093d0 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.komi-bubble-link[b-eaok1vgzsq] {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 6px 12px;
    background: #C0167B;
    color: #fff !important;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .komi-bubble-link:hover[b-eaok1vgzsq] {
        background: #961160;
    }

/* ---------- Indicateur "Komi réfléchit" ---------- */
.komi-typing[b-eaok1vgzsq] {
    display: flex;
    gap: 4px;
    padding: 2px 0;
}

    .komi-typing span[b-eaok1vgzsq] {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #b0b8c4;
        animation: komi-typing-b-eaok1vgzsq 1.2s infinite ease-in-out;
    }

        .komi-typing span:nth-child(2)[b-eaok1vgzsq] {
            animation-delay: 0.2s;
        }

        .komi-typing span:nth-child(3)[b-eaok1vgzsq] {
            animation-delay: 0.4s;
        }

@keyframes komi-typing-b-eaok1vgzsq {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* ---------- Suggestions (chips) ---------- */
.komi-chat-suggestions[b-eaok1vgzsq] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    background: #f5f7fa;
    border-top: 1px solid #e8edf2;
}

.komi-chip[b-eaok1vgzsq] {
    background: #fff;
    border: 1px solid #0062C2;
    color: #0062C2;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: left;
}

    .komi-chip:hover[b-eaok1vgzsq] {
        background: #0062C2;
        color: #fff;
    }

/* ---------- Zone de saisie ---------- */
.komi-chat-input-row[b-eaok1vgzsq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #e8edf2;
}

.komi-chat-input[b-eaok1vgzsq] {
    flex-grow: 1;
    border: 1px solid #d4dbe3;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

    .komi-chat-input:focus[b-eaok1vgzsq] {
        border-color: #0062C2;
    }

    .komi-chat-input:disabled[b-eaok1vgzsq] {
        background: #f1f3f6;
    }

.komi-chat-send[b-eaok1vgzsq] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0062C2 0%, #0093d0 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

    .komi-chat-send:hover:not(:disabled)[b-eaok1vgzsq] {
        transform: scale(1.05);
    }

    .komi-chat-send:disabled[b-eaok1vgzsq] {
        opacity: 0.45;
        cursor: default;
    }

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
    .komi-chat[b-eaok1vgzsq] {
        bottom: 16px;
        right: 16px;
    }

    .komi-chat-panel[b-eaok1vgzsq] {
        width: calc(100vw - 24px);
        height: calc(100vh - 110px);
        right: -4px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout Global Horizontal */
.page-horizontal[b-d6cagzmz80] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f8f9fa;
    overflow: hidden; /* Emp�che le scroll global */
}

/* HEADER BLEU */
.top-navbar-custom[b-d6cagzmz80] {
    background-color: rgb(0, 120, 220); /* BLEU KONICA */
    height: 65px; /* Hauteur fixe */
    color: white;
    flex-shrink: 0; /* Ne r�tr�cit jamais */
    position: relative;
    z-index: 1020; /* Au dessus de tout */
}

/* Filtre pour rendre le logo blanc */
.logo-white-filter[b-d6cagzmz80] {
    filter: brightness(0) invert(1);
}

/* Zone de contenu principale */
.main-body[b-d6cagzmz80] {
    flex: 1; /* Prend tout l'espace restant */
    overflow-y: auto; /* Scroll ici */
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

/* Liens du header (Guides, Contact) */
[b-d6cagzmz80] .header-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

    [b-d6cagzmz80] .header-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    [b-d6cagzmz80] .header-link i {
        font-size: 1.1rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* =================================================================
   STYLE DU MENU (NavMenu.razor.css) - VERSION NETTOYÉE
   ================================================================= */

/* 1. CONTAINER DU MENU */
.menu[b-mn5eaekqih] {
    width: 100%;
}

/* 2. AJUSTEMENTS STRUCTURELS UNIQUEMENT */
/* On laisse site.css gérer les couleurs (Blanc/Bleu) pour éviter les conflits */

[b-mn5eaekqih] .dxbl-menu-horizontal {
    background-color: transparent !important;
    border: none !important;
    width: 100%;
}

/* Ajustement pour cacher le bloc "Info Utilisateur" inutile en horizontal */
[b-mn5eaekqih] .user-info-item {
    display: none;
}

/* On s'assure que les icônes ont une marge, mais la couleur est gérée par site.css */
[b-mn5eaekqih] .icon,
[b-mn5eaekqih] .fa-solid,
[b-mn5eaekqih] .fas {
    margin-right: 8px;
    font-size: 1rem;
}
