:root {
    --blue: #2a67fe;
    --blue-hover: #1f53e6;
    --text: #333;
    --muted: #7a889f;
    --line: #d7d7d7;
    --table-border: #ebedf5;
    --table-header: #f5f7ff;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #f4f6fb;
    color: var(--text);
}

.layout {
    display: grid;
    grid-template-columns: 220px auto;
    grid-template-rows: 60px auto;
    grid-template-areas:
        "topbar topbar"
        "sidebar content";
    min-height: 100vh;
}

.topbar {
    grid-area: topbar;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: #fff;
}

.brand {
    font-size: 24px;
    font-weight: 600;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.sidebar {
    grid-area: sidebar;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
}

.nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: block;
    padding: 14px 32px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--blue);
}

.nav-item.active {
    color: var(--blue);
    font-weight: 600;
}

.content {
    grid-area: content;
    padding: 20px 20px 40px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 14px;
    color: #0d1a39;
    margin-bottom: 8px;
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 0 0 10px;
}

.card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--table-border);
    padding: 24px;
    margin: 0 20px 40px;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0d1a39;
    margin-bottom: 20px;
}

.marker {
    width: 12px;
    height: 12px;
    border: 2px solid var(--blue);
    border-radius: 2px;
    display: inline-block;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
}

thead {
    background: var(--table-header);
}

th,
td {
    padding: 12px 16px;
    border: 1px solid var(--table-border);
    color: var(--text);
    white-space: nowrap;
}

.actions {
    display: flex;
    gap: 16px;
}

.btn {
    min-width: 96px;
    height: 36px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-outline {
    background: #fff;
    color: var(--muted);
    border: 1px solid var(--line);
}

.btn-outline:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-secondary {
    background: #3a7afe;
    color: #fff;
}

.btn-secondary:hover {
    background: #2769f0;
}

.btn-primary {
    background: #2a67fe;
    color: #fff;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--blue-hover);
}


