:root {
    --chocolate: #3b2416;
    --chocolate-dark: #26160d;
    --caramel: #c8924b;
    --cream: #f8f1e8;
    --soft-bg: #f5f6fa;
    --white: #ffffff;
    --text-dark: #2f2f2f;
    --muted: #777777;
    --border-soft: #e8e2dc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--soft-bg);
    color: var(--text-dark);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 270px;
    background: linear-gradient(180deg, var(--chocolate), var(--chocolate-dark));
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 20px 16px;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 18px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background-color: var(--caramel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--chocolate-dark);
}

.sidebar-brand h5 {
    margin: 0;
    font-weight: 700;
}

.sidebar-brand span {
    font-size: 13px;
    color: #e8d6c0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-title {
    font-size: 12px;
    text-transform: uppercase;
    color: #d9b98c;
    margin: 18px 10px 8px;
    letter-spacing: 0.8px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f5eadf;
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 12px;
    margin-bottom: 5px;
    font-size: 15px;
    transition: 0.2s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background-color: var(--caramel);
    color: var(--chocolate-dark);
}

.sidebar-menu li a i {
    font-size: 18px;
}

.disabled-link {
    opacity: 0.55;
    pointer-events: none;
}

/* Main Content */
.admin-main {
    margin-left: 270px;
    width: calc(100% - 270px);
    min-height: 100vh;
}

/* Navbar */
.admin-navbar {
    height: 82px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-soft);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--chocolate);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-profile small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

/* Page Content */
.admin-content {
    padding: 28px;
}

.dashboard-card {
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.dashboard-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chocolate);
    font-size: 23px;
    margin-bottom: 14px;
}

.dashboard-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
}

.dashboard-card p {
    margin: 5px 0 0;
    color: var(--muted);
}

.section-card {
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.quick-action-btn {
    border: 1px solid var(--border-soft);
    background-color: var(--white);
    border-radius: 15px;
    padding: 16px;
    text-decoration: none;
    display: block;
    color: var(--text-dark);
    transition: 0.2s ease;
}

.quick-action-btn:hover {
    background-color: var(--cream);
    color: var(--chocolate);
    transform: translateY(-2px);
}

.quick-action-btn i {
    font-size: 22px;
    color: var(--caramel);
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .admin-sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
    }

    .admin-navbar {
        height: auto;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navbar-actions {
        width: 100%;
        justify-content: space-between;
    }
}