:root {
    --pumpkin: #ff9416;
    --pumpkin-dark: #d87500;
    --dark: #1f1f1f;
    --light-bg: #f8f5f1;
    --white: #ffffff;
    --green: #8bbd65;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--light-bg);
    font-family: Arial, sans-serif;
    color: var(--dark);
}

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff7ef, #ffe0b7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    max-width: 430px;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
}

.login-logo {
    width: 150px;
}

.btn-pumpkin {
    background: var(--pumpkin);
    color: white;
    border-radius: 12px;
    padding: 12px;
    font-weight: bold;
    border: none;
}

.btn-pumpkin:hover {
    background: var(--pumpkin-dark);
    color: white;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    background: var(--dark);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    padding: 20px 15px;
    z-index: 1000;
}

.sidebar-logo img {
    width: 110px;
    background: white;
    border-radius: 20px;
    padding: 8px;
}

.sidebar-logo h5 {
    margin-top: 12px;
    color: white;
    font-weight: bold;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    display: block;
    padding: 13px 15px;
    color: #eeeeee;
    text-decoration: none;
    border-radius: 14px;
    transition: 0.3s;
}

.sidebar-menu a:hover {
    background: var(--pumpkin);
    color: white;
}

.sidebar-menu i {
    margin-right: 8px;
}

.logout-link {
    background: rgba(255, 255, 255, 0.08);
}

.main-content {
    margin-left: 270px;
    width: calc(100% - 270px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: white;
    height: 75px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: var(--pumpkin);
    color: white;
}

.page-title {
    font-weight: bold;
    color: var(--dark);
}

.stat-card {
    background: white;
    border-radius: 22px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    border-left: 6px solid var(--pumpkin);
}

.stat-card h6 {
    color: #777;
    margin-bottom: 8px;
}

.stat-card h2 {
    font-weight: bold;
    margin: 0;
}

.stat-card i {
    font-size: 45px;
    color: var(--pumpkin);
}

.custom-card {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.custom-card .card-header {
    background: white;
    font-weight: bold;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
}

.footer {
    margin-top: auto;
    text-align: center;
    padding: 18px;
    background: white;
    color: #777;
}

@media (max-width: 991px) {
    .sidebar {
        left: -280px;
        transition: 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-menu-btn {
        display: inline-block;
    }
}

canvas {
    max-height: 280px !important;
}

.card-body canvas {
    width: 100% !important;
}



.dataTables_wrapper .dt-buttons {
    margin-bottom: 15px;
}

.dataTables_wrapper .dt-buttons .btn {
    margin-right: 6px;
    border-radius: 10px;
}

.dataTables_filter input {
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    padding: 7px 12px !important;
}

.dataTables_length select {
    border-radius: 10px !important;
    padding: 6px 10px !important;
}

.page-link {
    color: var(--pumpkin);
}

.page-item.active .page-link {
    background-color: var(--pumpkin);
    border-color: var(--pumpkin);
}


.sidebar-logo small {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

.sidebar-menu li a.active {
    background: var(--pumpkin);
    color: white;
}

.chart-box {
    height: 280px;
}