/* =========================
   RESET BÁSICO
========================= */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

/* =========================
   WRAPPER
========================= */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    width: var(--sidebar-width);
    background: var(--text-dark);
    color: #fff;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-brand {
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    font-size: 1rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.2rem;
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
    font-size: .95rem;
}

.nav-item:hover {
    background: var(--primary);
}

/* =========================
   MAIN CONTENT
========================= */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.topbar {
    height: 60px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.menu-toggle {
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.school-name {
    font-weight: 600;
    font-size: 1rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
}

/* =========================
   PAGE CONTENT
========================= */

.page-content {
    padding: 2rem;
}

.sidebar .nav-item {
    text-decoration: none !important;
}

.sidebar .nav-item:hover {
    text-decoration: none !important;
}
.sidebar .nav-item *,
.sidebar .nav-item:hover * {
    text-decoration: none !important;
}

.titulo-pagina {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--text-dark);
}

.app-wrapper {
    display: flex;
}

.sidebar {
    width: 260px;
    transition: width .25s ease;
}

.sidebar.collapsed {
    width: 70px;
}

.main-content {
    flex: 1;
    transition: margin .25s ease;
}