/* SIDEBAR V2 - sections groupées + icônes SVG + compteurs */

/* Sections (Explorer, Outils, Services) */
.side-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(245, 239, 228, 0.08);
}
.side-section:last-of-type { border-bottom: none; }

.side-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--amber-light);
    margin: 0 0 10px 0;
    padding: 0 4px;
    opacity: 0.85;
    font-weight: 600;
}

/* Override l'ancien style des links features */
.side-section .side-link-feature {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    color: var(--cream);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    opacity: 0.75;
    transition: opacity .15s, background .15s, color .15s, border-color .15s;
    border-radius: 2px;
    border-left: 2px solid transparent;
    min-height: 36px;
    line-height: 1.25;
}
.side-section .side-link-feature .link-label {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.side-section .side-link-feature:hover {
    opacity: 1;
    background: rgba(245, 239, 228, 0.04);
    color: var(--amber-light);
}
.side-section .side-link-feature.active {
    opacity: 1;
    color: var(--amber-light);
    background: rgba(245, 239, 228, 0.05);
    border-left-color: var(--amber);
}

/* Icônes SVG */
.link-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--amber-light);
    opacity: 0.75;
}
.side-link-feature:hover .link-svg,
.side-link-feature.active .link-svg {
    opacity: 1;
}

/* Groupes catégories (Chien, Chat, Autres) */
.side-group {
    margin-bottom: 18px;
    margin-top: 2px;
}
.side-group:first-of-type {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 239, 228, 0.15);
}
.side-group-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin: 0 0 10px 0;
    padding: 0 4px;
    opacity: 0.95;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Catégories items */
.side-link-cat {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 6px 16px !important;
    color: var(--cream);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.65;
    transition: all .15s;
    border-left: 2px solid transparent;
    gap: 8px;
}
.side-link-cat:hover {
    opacity: 1;
    color: var(--amber-light);
    background: rgba(245, 239, 228, 0.03);
}
.side-link-cat.active {
    opacity: 1;
    color: var(--amber-light);
    border-left-color: var(--amber-light);
    font-weight: 500;
    background: rgba(245, 239, 228, 0.04);
}
.side-link-cat .link-label {
    text-transform: capitalize;
    flex: 1;
}

/* Compteur */
.link-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--amber-light);
    background: rgba(217, 107, 39, 0.12);
    padding: 2px 7px;
    font-weight: 600;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity .15s;
}
.side-link-cat:hover .link-count,
.side-link-cat.active .link-count {
    opacity: 1;
    background: rgba(217, 107, 39, 0.2);
}
