:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --sidebar-width: 260px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, #1e4220 100%);
    color: white;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand h4 {
    margin: 0;
    font-size: 18px;
}

.sidebar-brand small {
    opacity: 0.7;
    font-size: 12px;
}

.sidebar-menu {
    padding: 15px 0;
}

.menu-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--secondary-color);
}

.menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 20px;
}

.top-bar {
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.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 #f0f0f0;
    padding: 20px;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #1e4220;
    border-color: #1e4220;
}

.table th {
    font-weight: 600;
    color: #555;
    border-top: none;
}

.badge {
    padding: 6px 12px;
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 45, 0.25);
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}
