:root {
    --text: #122033;
    --text-soft: #5b6b80;
    --line: rgba(15, 23, 42, 0.08);
    --primary: #2563eb;
    --primary-deep: #1d4ed8;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 24%),
        linear-gradient(180deg, #eef4ff 0%, #f7f9fc 45%, #eef3f9 100%);
    color: var(--text);
    min-height: 100vh;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.32), rgba(255,255,255,0.08)),
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.12), transparent 24%);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 48px));
    margin: 36px auto 60px;
}

.hero {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 24px;
}

.hero-left,
.hero-right,
.panel {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-left {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.88), rgba(30, 41, 59, 0.82));
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 34px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-left::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.28), transparent 62%);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1.2px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-left h1 {
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-desc {
    margin: 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.84);
}

.hero-desc span {
    color: #93c5fd;
    font-weight: 700;
}

.hero-right {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.glass-card {
    height: 100%;
    border-radius: var(--radius-xl);
    padding: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
    border: 1px solid rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.glass-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.glass-card li {
    position: relative;
    padding: 12px 0 12px 18px;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 15px;
}

.glass-card li:last-child {
    border-bottom: none;
}

.glass-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.panel {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 22px;
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.panel-header p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.form-group input,
.form-group select {
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255,255,255,0.9);
    outline: none;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.22s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 10px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.action-row {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.primary-btn {
    min-width: 180px;
    height: 52px;
    border: none;
    border-radius: 14px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

.error-box {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(254, 242, 242, 0.95);
    color: #b91c1c;
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 14px;
    padding: 14px 16px;
}

.error-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,250,252,0.88));
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(29,78,216,0.92));
    color: #fff;
}

.stat-card.highlight .stat-label,
.stat-card.highlight .stat-value {
    color: #fff;
}

.stat-label {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 10px;
}

.stat-value {
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.section-banner {
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 18px;
    color: #fff;
}

.section-banner h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.section-banner p {
    margin: 0;
    opacity: 0.92;
    font-size: 14px;
}

.chong-banner {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.wen-banner {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.bao-banner {
    background: linear-gradient(135deg, #10b981, #0ea5e9);
}

.table-shell {
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255,255,255,0.86);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

thead th {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    white-space: nowrap;
}

tbody td {
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 14px;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.name-cell {
    font-weight: 700;
    color: #0f172a;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.tag.danger {
    color: #b91c1c;
    background: rgba(254, 226, 226, 0.95);
}

.tag.warning {
    color: #b45309;
    background: rgba(254, 243, 199, 0.95);
}

.tag.success {
    color: #047857;
    background: rgba(209, 250, 229, 0.95);
}

.tag.danger-outline {
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.tag.warning-outline {
    color: #b45309;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.tag.success-outline {
    color: #047857;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.empty-state {
    padding: 22px;
    border-radius: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.36);
    background: rgba(248, 250, 252, 0.72);
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 24px);
        margin: 18px auto 36px;
    }

    .hero-left {
        padding: 24px 20px;
    }

    .hero-left h1 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .panel {
        padding: 20px;
    }

    .action-row {
        justify-content: stretch;
    }

    .primary-btn {
        width: 100%;
    }
}
