/* _content/Goodies.App/Components/Layout/NavMenu.razor.rz.scp.css */
/* ========================================
   NAVMENU - Styles pour le contenu du menu
   Compatible avec MenuService et Sidebar
   ======================================== */

/* Header avec gradient moderne (masqué dans la sidebar) */
.top-row[b-2a23zdvh9s] {
    min-height: 3.5rem;
    background: linear-gradient(135deg, #1b6ec2 0%, #1861ac 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-brand[b-2a23zdvh9s] {
    font-size: 1.25rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.navbar-brand:hover[b-2a23zdvh9s] {
    color: #e3f2fd !important;
    transform: scale(1.02);
}

/* Variables CSS pour cohérence des couleurs */
:host[b-2a23zdvh9s] {
    --sidebar-bg: #f8f9fa;
    --nav-text: rgba(255, 255, 255, 0.95);
    --nav-text-muted: rgba(255, 255, 255, 0.7);
    --nav-hover: rgba(255, 255, 255, 0.15);
    --nav-active: rgba(255, 255, 255, 0.25);
    --separator-color: rgba(255, 255, 255, 0.5);
}

/* Zone scrollable - styles de base uniquement */
.nav-scrollable[b-2a23zdvh9s] {
    height: 100%;
    overflow-y: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

/* Navigation items - Compatible avec la sidebar bleue */
.nav-item[b-2a23zdvh9s] {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    padding: 0;
}

/* Les styles des nav-link sont gérés par app.css via .sidebar .nav-link */
/* On garde uniquement les styles spécifiques qui ne sont pas dans app.css */

/* Icônes - Taille de base (app.css gère le style dans la sidebar) */
.bi[b-2a23zdvh9s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Texte des sections - Style compatible avec la sidebar */
.nav-link-text[b-2a23zdvh9s] {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
    margin-top: 0.5rem;
}

/* Bouton logout - Style compatible avec la sidebar */
.btn-logout[b-2a23zdvh9s] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

.btn-logout:hover[b-2a23zdvh9s] {
    background: rgba(220, 53, 69, 0.3);
    color: white;
    transform: translateX(4px);
}

/* Séparateurs - Style compatible avec la sidebar */
.menu-separator[b-2a23zdvh9s] {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.1) 90%,
        transparent 100%
    );
    margin: 1.5rem 1.5rem;
    opacity: 0.8;
}

/* Responsive - La sidebar gère le positionnement via app.css */
@media (max-width: 767px) {
    .nav-item[b-2a23zdvh9s]  .nav-link {
        position: relative;
    }
}

/* Scrollbar personnalisée - Gérée par app.css via .sidebar .nav-scrollable */

/* Les styles des icônes et liens actifs sont gérés par app.css */
/* Ce fichier contient uniquement les styles spécifiques au composant NavMenu */
/* _content/Goodies.App/Components/Pages/Fournisseurs/ListeFournisseurs.razor.rz.scp.css */
/* Styles pour les pages de fournisseurs */
.fournisseur-card[b-fouiwof2fp] {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fournisseur-card:hover[b-fouiwof2fp] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.status-badge[b-fouiwof2fp] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.form-section[b-fouiwof2fp] {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
}

.siret-validation-success[b-fouiwof2fp] {
    border-color: var(--bs-success) !important;
}

.siret-validation-error[b-fouiwof2fp] {
    border-color: var(--bs-danger) !important;
}

.spinner-border-sm[b-fouiwof2fp] {
    width: 1rem;
    height: 1rem;
}

.breadcrumb-item a[b-fouiwof2fp] {
    text-decoration: none;
}

.breadcrumb-item a:hover[b-fouiwof2fp] {
    color: var(--bs-primary);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .fournisseur-card[b-fouiwof2fp] {
        margin-bottom: 1rem;
    }
    
    .btn-group[b-fouiwof2fp] {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn[b-fouiwof2fp] {
        margin-bottom: 0.25rem;
        border-radius: 0.375rem !important;
    }
}

/* Loading states */
.loading-overlay[b-fouiwof2fp] {
    position: relative;
}

.loading-overlay[b-fouiwof2fp]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Form validation styling */
.validation-message[b-fouiwof2fp] {
    color: var(--bs-danger);
    font-size: 0.875rem;
}

.field-validation-error[b-fouiwof2fp] {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.25);
}

.field-validation-valid[b-fouiwof2fp] {
    border-color: var(--bs-success);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}
/* _content/Goodies.App/Components/Shared/CookieBanner.razor.rz.scp.css */
/* Popup de consentement des cookies - Design moderne harmonis� */

.cookie-banner-overlay[b-1eugro12em] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 50000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    animation: overlayFadeIn-b-1eugro12em 0.3s ease-out;
}

@keyframes overlayFadeIn-b-1eugro12em {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(3px);
    }
}

.cookie-banner-modal[b-1eugro12em] {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 520px;
    margin: 1rem;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 8px 24px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8) inset;
    position: relative;
    animation: modalSlideIn-b-1eugro12em 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(27, 110, 194, 0.1);
}

@keyframes modalSlideIn-b-1eugro12em {
    from {
        transform: scale(0.85) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.cookie-banner-close[b-1eugro12em] {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner-close:hover[b-1eugro12em] {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.cookie-banner-content[b-1eugro12em] {
    text-align: center;
    color: #2c3e50;
}

.cookie-banner-title[b-1eugro12em] {
    margin-bottom: 1.5rem;
    color: #1b6ec2;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cookie-banner-text[b-1eugro12em] {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #495057;
    font-weight: 400;
}

.cookie-banner-buttons[b-1eugro12em] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cookie-banner-buttons .btn[b-1eugro12em] {
    min-width: 140px;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.cookie-banner-buttons .btn[b-1eugro12em]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease-in-out;
}

.cookie-banner-buttons .btn:hover[b-1eugro12em]::before {
    left: 100%;
}

.cookie-banner-buttons .btn-success[b-1eugro12em] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.cookie-banner-buttons .btn-success:hover[b-1eugro12em] {
    background: linear-gradient(135deg, #218838 0%, #1ea888 100%);
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.cookie-banner-buttons .btn-secondary[b-1eugro12em] {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border-color: #6c757d;
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.cookie-banner-buttons .btn-secondary:hover[b-1eugro12em] {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    border-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.cookie-banner-footer[b-1eugro12em] {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.cookie-banner-footer a[b-1eugro12em] {
    color: #1b6ec2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.cookie-banner-footer a:hover[b-1eugro12em] {
    color: #1861ac;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 575.98px) {
    .cookie-banner-modal[b-1eugro12em] {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .cookie-banner-title[b-1eugro12em] {
        font-size: 1.25rem;
    }

    .cookie-banner-text[b-1eugro12em] {
        font-size: 0.9rem;
    }

    .cookie-banner-buttons[b-1eugro12em] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-banner-buttons .btn[b-1eugro12em] {
        width: 100%;
        min-width: auto;
    }
}

/* Focus states pour l'accessibilit� */
.cookie-banner-buttons .btn:focus[b-1eugro12em] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.25);
}

.cookie-banner-footer a:focus[b-1eugro12em] {
    outline: 2px solid #1b6ec2;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Animation de disparition */
.cookie-banner-overlay.fade-out[b-1eugro12em] {
    animation: overlayFadeOut-b-1eugro12em 0.3s ease-out forwards;
}

.cookie-banner-modal.fade-out[b-1eugro12em] {
    animation: modalSlideOut-b-1eugro12em 0.3s ease-out forwards;
}

@keyframes overlayFadeOut-b-1eugro12em {
    from {
        opacity: 1;
        backdrop-filter: blur(3px);
    }
    to {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@keyframes modalSlideOut-b-1eugro12em {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
}

.debug-panel[b-1eugro12em] {
    pointer-events: none; /* Ne pas bloquer les clics */
}

.debug-panel button[b-1eugro12em] {
    pointer-events: all; /* R�activer les clics sur les boutons de test */
    cursor: pointer;
    margin: 2px;
}
