html {
    font-size: 18px;
}

body {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

.admin-sidebar {
    width: 270px;
    height: 100vh;
    background-color: #1e222d;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s;
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background-color: #3b4252;
    border-radius: 4px;
}

.admin-nav-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #718096;
    padding: 14px 16px 5px;
    margin: 0;
}

.admin-sidebar-brand {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand img {
    max-height: 52px;
}

.admin-nav {
    list-style: none;
    padding: 14px 10px;
    margin: 0;
}

.admin-nav li {
    margin-bottom: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: #a0aec0;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: #ffffff;
    background-color: #c42026;
    font-weight: 700;
}

.admin-nav a i {
    font-size: 19px;
    width: 22px;
    text-align: center;
}

.admin-main-content {
    margin-left: 270px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 68px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-topbar h5 {
    font-size: 23px;
    font-weight: 700;
}

.admin-page-body {
    padding: 30px;
    flex: 1;
}

.stat-card {
    border: none;
    border-radius: 14px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

/* Go To Top */
#adminGoToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e222d;
    color: #d4a96a;
    border: 2px solid #d4a96a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
    outline: none;
    transition: all 0.3s ease;
}

#adminGoToTop.show {
    display: flex;
    animation: fadeInScale 0.3s forwards ease-out;
}

#adminGoToTop:hover {
    background: #d4a96a;
    color: #1e222d;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 25px rgba(212, 169, 106, 0.4);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.6) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
