/* SIDEBAR — base structural styles; shell polish lives in base.css */

.sidebar {
    background: linear-gradient(195deg, rgba(6, 12, 24, 0.98), rgba(2, 5, 12, 0.99));
    border-right: 1px solid rgba(147, 197, 253, 0.10);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    padding: 16px 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid rgba(147, 197, 253, 0.10);
    border-radius: 18px;
    background: rgba(8, 14, 26, 0.75);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.sidebar-logo-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    color: inherit;
}

.brand-dashboard-link {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.brand-dashboard-link:hover {
    text-decoration: none;
}

.logo {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: linear-gradient(145deg, rgba(12, 22, 41, 0.95), rgba(4, 8, 18, 0.98));
    border: 1px solid rgba(147, 197, 253, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.brand .brand-text h1,
.brand-dashboard-link h1 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

.nav {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    text-decoration: none;
}

.nav a:hover {
    background: rgba(122, 162, 255, 0.08);
    border-color: rgba(122, 162, 255, 0.25);
    color: var(--text);
    text-decoration: none;
}

.nav a:focus,
.nav a:active,
.nav a:visited {
    text-decoration: none;
}

.nav a.active {
    background: rgba(122, 162, 255, 0.12);
    border-color: rgba(122, 162, 255, 0.35);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.nav .nav-ico {
    flex: 0 0 auto;
    width: 1.35em;
    text-align: center;
    line-height: 1;
}

.nav .nav-text {
    min-width: 0;
}
