@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #212529;
}


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    min-height: 60px;
}

.navbar-brand {
    font-weight: 600;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
    min-height: calc(100vh - 60px);
    background: #212529;
    padding: 20px 10px;
}

.sidebar-title {
    color: #adb5bd;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 15px;
    letter-spacing: 1px;
}

.sidebar a {
    display: block;
    color: #dee2e6;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 5px;
    font-size: 14px;
}

.sidebar a:hover {
    background: #343a40;
    color: white;
}


/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main-content {
    padding: 30px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}


/* ============================================================
   CARDS
   ============================================================ */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.card-header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 18px 20px;
}


/* ============================================================
   STATISTICS
   ============================================================ */

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.stat-card h6 {
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-card h2 {
    margin: 0;
    font-weight: 600;
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 24px;
}


/* ============================================================
   LOGIN
   ============================================================ */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f5f7fb;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.login-icon {
    font-size: 45px;
    margin-bottom: 10px;
}


/* ============================================================
   FORMS
   ============================================================ */

.form-control,
.form-select {
    min-height: 45px;
    border-radius: 7px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
}


/* ============================================================
   TABLES
   ============================================================ */

.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.table td {
    font-size: 14px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {

    .sidebar {
        min-height: auto;
        padding: 10px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .page-header {
        display: block;
    }

    .page-header .btn {
        margin-top: 10px;
    }

    .stat-card {
        padding: 18px;
    }

}

