body {
    background: #f5f7fb;
    min-height: 100vh;
}

.login-wrapper {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;
}

.login-card {
    width: 100%;

    max-width: 450px;

    border: 0;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);
}

.brand-title {
    font-weight: 700;

    letter-spacing: -0.5px;
}

.form-control {
    min-height: 48px;

    border-radius: 10px;
}

.btn {
    border-radius: 10px;
}

.dashboard-card {
    border: 0;

    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}


.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #111827;
    color: #fff;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

.sidebar-logo {
    padding: 22px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.sidebar-logo a {
    color: #fff;
    text-decoration: none;
}

.sidebar-menu {
    padding: 15px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #2563eb;
    color: #fff;
}

.sidebar-menu hr {
    border-color: rgba(255,255,255,.1);
    margin: 20px 0;
}

.admin-main {
    margin-left: 250px;
    width: calc(100% - 250px);
    min-height: 100vh;
}

.admin-topbar {
    background: #fff;
    padding: 15px 25px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    padding: 25px;
}

.stat-card {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
}

.admin-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 768px) {

    .admin-sidebar {
        width: 70px;
    }

    .sidebar-logo {
        font-size: 0;
        text-align: center;
    }

    .sidebar-menu a {
        justify-content: center;
        font-size: 0;
    }

    .sidebar-menu a span {
        font-size: 18px;
    }

    .admin-main {
        margin-left: 70px;
        width: calc(100% - 70px);
    }
}

/* =========================================================
   SIDEBAR
========================================================= */

/* =========================================
   USER SIDEBAR
========================================= */

.sidebar {
    width: 260px;
    min-height: 100vh;
    background: #ffffff;
    border-right: 1px solid #e9ecef;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    overflow-y: auto;
}


/* Brand */

.sidebar-brand {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-brand a {
    color: #212529;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #0d6efd;
    color: #ffffff;

    font-size: 18px;
}


/* Heading */

.sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #98a2b3;

    padding: 18px 12px 8px;
}


/* Navigation */

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 11px 14px;

    color: #667085;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;

    transition: all 0.2s ease;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 17px;
}

.sidebar .nav-link:hover {
    background: #f2f6ff;
    color: #0d6efd;
}


/* Active menu */

.sidebar .nav-link.active {
    background: #0d6efd;
    color: #ffffff;
}


/* Logout */

.sidebar-bottom {
    border-top: 1px solid #f0f0f0;
}

.sidebar .logout-link {
    color: #dc3545;
}

.sidebar .logout-link:hover {
    background: #fff1f2;
    color: #dc3545;
}


/* =========================================
   MAIN CONTENT
========================================= */

.app-main {
    margin-left: 260px;
    min-height: 100vh;
    background: #f8f9fa;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991.98px) {

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .app-main {
        margin-left: 0;
    }

}


/* =========================================================
   MAIN
========================================================= */

.app-main {
    margin-left: 250px;

    min-height: 100vh;
}


.app-topbar {
    height: 75px;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 25px;
}


.app-content {
    padding: 25px;
}


/* =========================================================
   TOPBAR USER
========================================================= */

.topbar-user {
    display: flex;

    align-items: center;

    gap: 10px;
}


.topbar-avatar {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #0d6efd;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 600;
}


.topbar-user-info {
    line-height: 1.2;
}


.topbar-user-name {
    font-size: 14px;

    font-weight: 600;

    color: #111827;
}


.topbar-user-email {
    font-size: 11px;

    color: #6b7280;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {

    .user-sidebar {
        transform: translateX(-100%);

        transition:
            transform 0.2s ease;
    }


    .user-sidebar.show {
        transform: translateX(0);
    }


    .app-main {
        margin-left: 0;
    }


    .app-content {
        padding: 15px;
    }

}


@media (max-width: 575.98px) {

    .topbar-user-info {
        display: none;
    }

}