/* ========================= */
/* SIDEBAR NÚCLEO */
/* ========================= */

.sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--sidebar-bg);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    transition: .3s ease;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.sidebar-logo {
    height: 45px;
}

.brand-name {
    font-weight: 600;
    font-size: 18px;
}

/* NAV ITEMS */

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    text-decoration: none;
    color: white;
    transition: .2s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255,255,255,.08);
}

.nav-item.active {
    background: var(--sidebar-active);
}


/* ========================= */
/* TOPBAR */
/* ========================= */

.topbar {
    height: 60px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.school-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

.user-name {
    font-weight: 500;
    color: var(--text-light);
}
