* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #172033;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

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

.dashboard-sidebar {
    width: 260px;
    background: #101828;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    gap: 18px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dashboard-brand__logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.dashboard-brand__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dashboard-brand__text strong {
    font-size: 15px;
}

.dashboard-brand__text span {
    font-size: 12px;
    opacity: 0.75;
}

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

.dashboard-nav__item {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(255,255,255,0.86);
    transition: 0.2s ease;
}

.dashboard-nav__item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.dashboard-nav__item.is-active {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.dashboard-sidebar__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.dashboard-main {
    flex: 1;
    min-width: 0;
    padding: 24px;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.dashboard-menu-btn {
    display: none;
    border: none;
    background: #eef2ff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 18px;
}

.dashboard-topbar__title h1 {
    margin: 0;
    font-size: 24px;
}

.dashboard-topbar__title p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 14px;
}

.dashboard-topbar__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-topbar__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.dashboard-topbar__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dashboard-topbar__meta strong {
    font-size: 14px;
}

.dashboard-topbar__meta span {
    font-size: 12px;
    color: #667085;
}

.page-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.page-card h2 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        z-index: 1000;
        transition: left 0.25s ease;
    }

    .dashboard-sidebar.is-open {
        left: 0;
    }

    .dashboard-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .dashboard-main {
        padding: 16px;
    }

    .dashboard-topbar {
        padding: 16px;
    }
}
.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-subtitle {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}

.section-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.students-action-btn,
.students-primary-btn,
.students-secondary-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
}

.students-action-btn,
.students-primary-btn {
    background: #2563eb;
    color: #fff;
}

.students-action-btn--light,
.students-secondary-btn {
    background: #eef2ff;
    color: #172033;
}

.students-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.students-tab {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
}

.students-tab.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.students-panels {
    min-width: 0;
}

.students-panel {
    display: none;
}

.students-panel.is-active {
    display: block;
}

.students-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
}

.students-card {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 18px;
}

.students-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.students-card__head h3 {
    margin: 0;
    font-size: 18px;
}

.students-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
}

.students-chip--muted {
    background: #eaecf0;
    color: #475467;
}

.students-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.students-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.students-field label {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
}

.students-field input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    background: #fff;
}

.students-field input:focus {
    outline: none;
    border-color: #2563eb;
}

.students-error {
    min-height: 16px;
    font-size: 12px;
    color: #dc2626;
}

.students-form__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.students-stat-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.students-stat {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 14px;
}

.students-stat strong {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

.students-stat span {
    font-size: 13px;
    color: #667085;
}

.students-empty {
    border: 1px dashed #d0d5dd;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    color: #667085;
}

@media (max-width: 900px) {
    .section-head {
        flex-direction: column;
    }

    .students-grid,
    .students-form__grid,
    .students-stat-list {
        grid-template-columns: 1fr;
    }
}
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.home-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
}

.home-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-action-card {
    border: 1px solid #e4e7ec;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.home-action-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #101828;
}

.home-action-card span {
    display: block;
    font-size: 13px;
    color: #667085;
}

.home-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-list__item {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.home-list__item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #101828;
}

.home-list__item span {
    font-size: 13px;
    color: #667085;
}

@media (max-width: 900px) {
    .home-stats-grid,
    .home-grid,
    .home-actions-grid {
        grid-template-columns: 1fr;
    }
}