@import url("base/reset.css");
@import url("base/variables.css");
@import url("base/typography.css");

@import url("layout/grid.css");
@import url("layout/sidebar.css");
@import url("layout/navbar.css");

@import url("components/buttons.css");
@import url("components/cards.css");
@import url("components/forms.css");
@import url("components/student-created-modal.css");

@import url("pages/dashboard.css");
@import url("pages/login.css");
@import url("pages/students.css");
@import url("pages/planning.css");
@import url("pages/reports.css");

.filter-tabs{
    display:flex;
    gap:8px;
    margin:-18px 0 24px;
    flex-wrap:wrap;
}

.filter-tabs a{
    padding:9px 14px;
    border-radius:10px;
    background:#fff;
    border:1px solid #e2e8f0;
    color:#475569;
    font-weight:700;
    text-decoration:none;
}

.filter-tabs a.active{
    background:#0f172a;
    border-color:#0f172a;
    color:#fff;
}

.table-scroll{
    width:100%;
    overflow-x:auto;
}

.section-heading{
    margin-bottom:18px;
}

.section-heading h2{
    margin:0 0 6px;
    color:#0f172a;
}

.section-heading p{
    color:#64748b;
}

.settings-form{
    margin-bottom:28px;
}

.settings-logs{
    margin-top:28px;
}

.dashboard-notice{
    margin-top:12px;
    padding:12px 14px;
    border:1px solid #dbeafe;
    border-radius:12px;
    background:#eff6ff;
    color:#1e40af !important;
}

.sidebar-toggle{
    display:none;
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:#f1f5f9;
    color:#0f172a;
    font-size:20px;
    cursor:pointer;
}

.btn-danger{
    background:#dc2626;
}

.btn-danger:hover{
    background:#b91c1c;
}

.badge-danger{
    background:#fee2e2;
    color:#991b1b;
}

.badge-warning{
    background:#fef3c7;
    color:#92400e;
}

@media(max-width:900px){
    .page{
        padding:0;
        gap:0;
    }

    .sidebar{
        position:fixed;
        top:0;
        bottom:0;
        left:0;
        z-index:1000;
        transform:translateX(-105%);
        transition:transform .25s ease;
        border-radius:0;
    }

    .sidebar.show{
        transform:translateX(0);
    }

    .main{
        min-width:0;
        border-radius:0;
    }

    .content{
        padding:24px 16px;
    }

    .navbar{
        padding:0 16px;
    }

    .navbar-left{
        display:flex;
        align-items:center;
        gap:12px;
        min-width:0;
    }

    .navbar h2{
        font-size:18px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .sidebar-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        flex-shrink:0;
    }

    .page-header{
        flex-direction:column;
        gap:16px;
    }

    .page-header h1,
    .dashboard-top h1{
        font-size:30px;
    }

    .card,
    .dashboard .card{
        padding:20px;
        border-radius:18px;
    }

    .planning-drawer{
        width:100%;
        max-width:100%;
        height:100vh;
        max-height:100vh;
        border-radius:0;
    }
}

