/* _content/Tersea.Proximity/Components/Layout/MainLayout.razor.rz.scp.css */
.layout-wrapper[b-fmsknvvquw] {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.main-content[b-fmsknvvquw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-body);
}

.top-header[b-fmsknvvquw] {
    height: 64px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-shrink: 0;
}

.header-title[b-fmsknvvquw] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

.workspace[b-fmsknvvquw] {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.header-actions[b-fmsknvvquw] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.divider[b-fmsknvvquw] {
    height: 20px;
    width: 1px;
    background-color: var(--border);
}

.btn-ghost[b-fmsknvvquw] {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .btn-ghost:hover[b-fmsknvvquw] {
        color: var(--primary);
    }

.user-profile[b-fmsknvvquw] {
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}
/* _content/Tersea.Proximity/Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-kkiqlpkjsb] {
    width: 280px; /* Un peu plus large pour l'�l�gance */
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02); /* L�g�re profondeur */
}

/* --- BRANDING --- */
.brand[b-kkiqlpkjsb] {
    height: 80px; /* Plus haut pour a�rer */
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 12px;
    /* Pas de bordure en bas pour un look plus fluide, ou tr�s subtile */
}

.brand-logo[b-kkiqlpkjsb] {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.brand-text[b-kkiqlpkjsb] {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

/* --- MENU AREA --- */
.nav-menu[b-kkiqlpkjsb] {
    padding: 1rem 1.2rem; /* Marges lat�rales */
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Espace augment� entre les groupes (Principal vs Syst�me) */
}

.nav-group[b-kkiqlpkjsb] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Espace augment� entre les items (avant: 0.25rem) */
}

.nav-group-title[b-kkiqlpkjsb] {
    font-size: 0.7rem;
    color: var(--text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 1rem; /* Plus d'espace sous le titre */
    padding-left: 0.8rem; /* Alignement visuel avec le texte des items */
}

/* --- NAVIGATION ITEMS --- */
.nav-item[b-kkiqlpkjsb] {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-lg); /* Arrondi plus moderne */
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1); /* Animation fluide */
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent; /* Pour �viter le saut au focus */
    position: relative;
    overflow: hidden;
}

    .nav-item i[b-kkiqlpkjsb] {
        width: 24px;
        text-align: center;
        margin-right: 12px;
        font-size: 1.1rem;
        transition: color 0.2s ease;
        color: var(--text-disabled); /* Ic�nes gris�es par d�faut */
    }

    /* Hover Effect */
    .nav-item:hover[b-kkiqlpkjsb] {
        background-color: var(--bg-body);
        color: var(--text-main);
        transform: translateX(4px); /* Petit glissement vers la droite */
    }

        .nav-item:hover i[b-kkiqlpkjsb] {
            color: var(--primary); /* L'ic�ne s'allume au survol */
        }

    /* Active State */
    .nav-item.active[b-kkiqlpkjsb] {
        background-color: var(--primary-light);
        color: var(--primary-dark);
        font-weight: 600;
    }

        .nav-item.active i[b-kkiqlpkjsb] {
            color: var(--primary);
        }

/* Special Styles for Logout Button */
.logout-btn[b-kkiqlpkjsb] {
    width: 100%;
    background: transparent;
    border: none;
    font-family: inherit;
    text-align: left;
}

    .logout-btn:hover[b-kkiqlpkjsb] {
        background-color: var(--danger-bg);
        color: var(--danger);
    }

        .logout-btn:hover i[b-kkiqlpkjsb] {
            color: var(--danger);
        }

/* --- FOOTER --- */
.sidebar-footer[b-kkiqlpkjsb] {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-text[b-kkiqlpkjsb] {
    font-size: 0.75rem;
    color: var(--text-disabled);
    text-align: center;
}
