<style>
        :root {
            --sib-red: #c8102e;
        }

        body {
            font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background-color: #ffffff;
            color: #111827;
        }
a {
  text-decoration: none;
  color: inherit; /* garde la même couleur que le parent */
}

a:hover {
  text-decoration: none;
}
        /* NAVBAR CLAIRE, MODERNE */

        .app-navbar {
            background-color: #ffffff;
            border-bottom: 1px solid #e5e7eb;
            box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
        }

        .app-navbar-inner {
            padding-top: 0.55rem;
            padding-bottom: 0.55rem;
        }

        .app-navbar-brand {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
        }

        .app-navbar-brand img {
            height: 32px;
            width: auto;
            display: block;
        }

        .app-logo-text-main {
            font-weight: 600;
            font-size: 0.98rem;
            color: #111827;
        }

        .app-logo-text-sub {
            font-size: 0.78rem;
            color: #6b7280;
        }

        .app-nav-link {
            font-size: 0.84rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: #6b7280 !important;
            padding: 0.4rem 0.85rem !important;
            border-bottom: 2px solid transparent;
        }

        .app-nav-link:hover {
            color: #111827 !important;
            border-bottom-color: rgba(200, 16, 46, 0.25);
        }

        .app-nav-link.active {
            color: #111827 !important;
            border-bottom-color: var(--sib-red);
        }

        .navbar-toggler {
            border: none;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        /* MENU PRODUITS – SIMPLE & ROUGE SIB */

        .app-products-dropdown .dropdown-menu {
            min-width: 260px;
            background-color: #ffffff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            padding: 0.4rem 0.4rem;
        }

        .app-products-dropdown .dropdown-header {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: #9ca3af;
            padding: 0.35rem 0.8rem 0.2rem;
        }

        .app-products-list {
            list-style: none;
            margin: 0;
            padding: 0.2rem 0.2rem 0.4rem;
        }

        .app-products-list li a {
            display: block;
            padding: 0.45rem 0.8rem;
            border-radius: 8px;
            color: #111827;
            text-decoration: none;
            font-size: 0.85rem;
        }

        .app-products-list li a span {
            display: block;
            font-size: 0.76rem;
            color: #6b7280;
        }

        .app-products-list li a:hover {
            background-color: #f3f4f6;
        }

        /* ZONE UTILISATEUR À DROITE */

        .app-user-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.25rem 0.8rem;
            border-radius: 999px;
            background-color: #f9fafb;
            border: 1px solid #e5e7eb;
            font-size: 0.8rem;
            color: #374151;
        }

        .app-user-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #22c55e;
        }

        .app-user-name {
            max-width: 120px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .app-logout-link {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #6b7280;
            text-decoration: none;
        }

        .app-logout-link:hover {
            color: #111827;
        }

        @media (max-width: 991px) {
            .app-navbar-inner {
                padding-top: 0.4rem;
                padding-bottom: 0.4rem;
            }
            .app-nav-link {
                padding-left: 0 !important;
            }
            .app-products-dropdown .dropdown-menu {
                min-width: 100%;
            }
        }

.app-cart-wrapper {
    position: relative;
}

.app-cart-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.app-cart-icon {
    font-size: 1.1rem;
    margin-right: 4px;
}

.app-cart-count {
    font-size: 0.8rem;
    background-color: #b91c1c;
    color: #ffffff;
    border-radius: 999px;
    padding: 0 6px;
    min-width: 18px;
    text-align: center;
}

.app-cart-preview {
    position: absolute;
    right: 0;
    top: 110%;
    z-index: 1000;
    width: 280px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 10px 12px;
    font-size: 0.8rem;
    color: #374151;
    display: none;
}

.app-cart-wrapper:hover .app-cart-preview {
    display: block;
}

.app-cart-preview-header {
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.app-cart-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.app-cart-preview-item:last-child {
    border-bottom: none;
}

.app-cart-preview-item-left {
    max-width: 65%;
}

.app-cart-preview-ref {
    font-size: 0.75rem;
    color: #6b7280;
}

.app-cart-preview-qty {
    font-size: 0.75rem;
    color: #4b5563;
}

.app-cart-preview-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: #111827;
}

.app-cart-preview-footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 6px;
    padding-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.app-cart-preview-note {
    font-size: 0.7rem;
    color: #6b7280;
}

.app-user-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #374151;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.app-user-dropdown-toggle:hover {
    text-decoration: none;
    color: #b91c1c;
    border-color: #d1d5db;
}

.app-burger-icon {
    font-size: 1rem;
}

.app-user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.app-user-dropdown-menu {
    min-width: 200px;
    font-size: 0.85rem;
}

.app-user-dropdown-menu ul {
    list-style-type: disc;      /* puces classiques */
}

.app-user-dropdown-menu li + li {
    margin-top: 4px;
}

.app-user-menu-link {
    color: #374151;
    text-decoration: none;
}

.app-user-menu-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.app-user-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #374151;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.app-user-dropdown-toggle:hover {
    color: #b91c1c;
    border-color: #d1d5db;
}

.app-burger-icon {
    font-size: 1rem;
}

.app-user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.app-user-dropdown-menu {
    min-width: 220px;
    font-size: 0.85rem;
}

.app-user-dropdown-menu ul {
    list-style-type: disc;
}

.app-user-dropdown-menu li + li {
    margin-top: 4px;
}

.app-user-menu-link {
    color: #374151;
    text-decoration: none;
}

.app-user-menu-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

        :root {
            --sib-red: #c8102e;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 10vh;
            font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background-color: #f3f4f6;
            color: #111827;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-wrapper {
            width: 100%;
            max-width: 420px;
            padding: 1.5rem;
        }

        .login-card {
            background-color: #ffffff;
            border-radius: 16px;
            border: 1px solid #e5e7eb;
            box-shadow:
                0 10px 25px rgba(15, 23, 42, 0.06);
            padding: 1.9rem 1.7rem 1.6rem;
        }

        .login-logo {
            text-align: center;
            margin-bottom: 1.3rem;
        }

        .login-logo img {
            height: 46px;
            width: auto;
        }

        .login-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 0.35rem;
            color: #111827;
        }

        .login-subtitle {
            font-size: 0.9rem;
            text-align: center;
            margin-bottom: 1.4rem;
            color: #6b7280;
        }

        .form-label {
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.13em;
            color: #6b7280;
            margin-bottom: 0.25rem;
        }

        .form-control {
            font-size: 0.9rem;
        }

        .login-error {
            border-radius: 8px;
            border: 1px solid rgba(248, 113, 113, 0.7);
            background-color: #fef2f2;
            color: #b91c1c;
            font-size: 0.85rem;
        }

        .btn-login {
            width: 100%;
            font-size: 0.9rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            background-color: var(--sib-red);
            border-color: var(--sib-red);
        }

        .btn-login:hover {
            background-color: #a30d25;
            border-color: #a30d25;
        }

        .login-footer {
            margin-top: 1.2rem;
            font-size: 0.78rem;
            text-align: center;
            color: #9ca3af;
        }

        .login-footer span {
            color: #6b7280;
        }

/* Groupe global */
.option-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Bouton individuel */
.option-button {
    flex: 1;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    color: #374151;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s ease-in-out;
}

/* Survol */
.option-button:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

/* État actif (sélectionné) */
.option-button.active {
    background-color: #0d6efd; /* Rouge SIB */
    border-color: #b91c1c;
    color: #ffffff;
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.45);
}

/* Désactivé */
.option-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
</style><style>
/* Groupe global */
.option-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Bouton individuel */
.option-button {
    flex: 1;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    color: #374151;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s ease-in-out;
}

/* Survol */
.option-button:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

/* État actif (sélectionné) */
.option-button.active {
    background-color: #0d6efd; /* Rouge SIB */
    border-color: #b91c1c;
    color: #ffffff;
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.45);
}

/* Désactivé */
.option-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


.app-footer {
    background: #fef2f2 !important;
}

.app-footer a {
    color: #111827;
    text-decoration: none;
}

.app-footer a:hover {
    color: #991b1b;
    text-decoration: underline;
}
</style>