/* ============================================
   图片资源站 - 主样式表 v2
   移动优先 · 精美UI · 暗色模式
   ============================================ */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-bg: #eef2ff;
    --accent: #f97316;
    --accent-light: #fb923c;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --info: #3b82f6;
    --info-bg: #eff6ff;

    --bg: #f1f5f9;
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-xs: 0.75rem;
    --font-sm: 0.8125rem;
    --font-base: 0.9375rem;
    --font-lg: 1.0625rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;

    --bottom-nav-height: 68px;
    --top-bar-height: 52px;
    --max-width: 480px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #818cf8;
        --primary-bg: #1e1b4b;
        --bg: #0f172a;
        --bg-card: #1e293b;
        --bg-input: #1e293b;
        --text: #f1f5f9;
        --text-secondary: #94a3b8;
        --text-muted: #64748b;
        --border: #334155;
        --border-light: #1e293b;
    }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: var(--top-bar-height);
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 20px);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: var(--font-base); }

/* ========== 布局 ========== */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 16px 24px;
    min-height: calc(100vh - var(--top-bar-height) - var(--bottom-nav-height) - var(--safe-bottom) - 40px);
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

/* ========== 顶部栏 ========== */
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--top-bar-height);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
    .top-bar { background: rgba(15,23,42,0.85); }
}
.top-bar-inner {
    max-width: var(--max-width); margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
}
.top-logo { font-size: var(--font-lg); font-weight: 700; color: var(--primary); letter-spacing: -0.3px; }
.top-points {
    font-size: var(--font-sm); color: var(--primary);
    background: var(--primary-bg); padding: 5px 14px;
    border-radius: var(--radius-full); font-weight: 600;
}

/* ========== 底部导航 ========== */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    max-width: var(--max-width); margin: 0 auto;
    height: calc(var(--bottom-nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-around; align-items: center;
}
@media (prefers-color-scheme: dark) {
    .bottom-nav { background: rgba(30,41,59,0.90); }
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 22px; color: var(--text-muted);
    font-size: var(--font-xs); transition: all 0.2s ease;
    border-radius: var(--radius); position: relative; min-width: 64px;
    -webkit-tap-highlight-color: transparent;
}
.nav-item.active { color: var(--primary); }
.nav-item:active { transform: scale(0.94); }
.nav-icon { width: 22px; height: 22px; transition: transform 0.2s; }
.nav-item.active .nav-icon { transform: translateY(-1px); }
.nav-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2px; }

/* ========== 板块标题 ========== */
.section { margin-bottom: 28px; }
.section-title {
    font-size: var(--font-lg); font-weight: 700; margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px; letter-spacing: -0.2px;
}
.section-title::before {
    content: ''; width: 4px; height: 22px; border-radius: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

/* ========== 资源卡片网格 ========== */
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.resource-card {
    background: var(--bg-card); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.resource-card:active { transform: scale(0.97); box-shadow: var(--shadow); }
.resource-card-cover {
    position: relative; width: 100%;
    /* === 9:16 比例 === */
    padding-top: 177.78%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow: hidden;
}
.resource-card-cover img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.resource-card:hover .resource-card-cover img { transform: scale(1.03); }
.resource-card-cover .placeholder-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; opacity: 0.4;
}
.resource-card-body { padding: 12px 14px; }
.resource-card-title {
    font-size: var(--font-sm); font-weight: 600; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; color: var(--text);
}
.resource-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; font-size: var(--font-xs); color: var(--text-muted);
}

/* ========== 标签 ========== */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 0.2px;
}
.badge-free { background: var(--success-bg); color: var(--success); }
.badge-points { background: var(--warning-bg); color: var(--warning); }
.badge-payment { background: var(--danger-bg); color: var(--danger); }
.badge-points-or-payment { background: var(--info-bg); color: var(--info); }

/* ========== 搜索页 ========== */
.search-page { padding-top: 4px; }
.search-form { display: flex; gap: 10px; margin-bottom: 24px; }
.search-input {
    flex: 1; padding: 13px 18px;
    border: 2px solid var(--border); border-radius: var(--radius-full);
    background: var(--bg-card); color: var(--text); font-size: var(--font-base);
    outline: none; transition: all 0.2s; box-shadow: var(--shadow-xs);
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
    padding: 13px 26px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border: none; border-radius: var(--radius-full);
    font-weight: 700; font-size: var(--font-base); white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3); transition: all 0.2s;
}
.search-btn:active { transform: scale(0.96); opacity: 0.9; }
.search-hint { text-align: center; color: var(--text-muted); padding: 48px 0; }
.search-empty { text-align: center; color: var(--text-secondary); padding: 48px 0; }
.search-result-count { font-size: var(--font-sm); color: var(--text-secondary); margin-bottom: 14px; }

/* ========== 表单 ========== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: var(--font-sm); font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-input {
    width: 100%; padding: 13px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text);
    font-size: var(--font-base); outline: none; transition: all 0.2s;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.08); }
.form-input::placeholder { color: var(--text-muted); }
.form-select {
    width: 100%; padding: 13px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text);
    font-size: var(--font-base); outline: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.form-btn {
    width: 100%; padding: 14px; border: none; border-radius: var(--radius);
    font-size: var(--font-base); font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 16px rgba(99,102,241,0.3); transition: all 0.2s;
}
.form-btn:active { transform: scale(0.97); opacity: 0.9; }
.form-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.form-link { text-align: center; margin-top: 14px; font-size: var(--font-sm); color: var(--text-secondary); }
.form-error { color: var(--danger); font-size: var(--font-sm); margin-top: 4px; }
.form-hint { color: var(--text-muted); font-size: var(--font-xs); margin-top: 4px; }

.form-btn-sm {
    padding: 8px 18px; font-size: var(--font-sm); font-weight: 600;
    border-radius: var(--radius-xs); border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text); cursor: pointer;
    transition: all 0.2s;
}
.form-btn-sm:hover { background: var(--bg-input); }

/* ========== 资源详情页 ========== */
.resource-detail { padding-top: 4px; }
.resource-detail-cover {
    width: 75%; margin: 0 auto 20px; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-card); background: var(--bg-input);
}
.resource-detail-cover img { width: 100%; display: block; border-radius: calc(var(--radius-lg) - 3px); }
.resource-detail-title {
    font-size: var(--font-xl); font-weight: 700; margin-bottom: 16px;
    text-align: center; letter-spacing: -0.3px; line-height: 1.4;
}
/* 标题下不显示解锁条件/浏览/下载等信息 --- 精简 */
.resource-detail-desc {
    font-size: var(--font-base); line-height: 1.8; color: var(--text-secondary);
    margin-bottom: 24px; white-space: pre-wrap; text-align: center;
}

/* ==== 全新解锁框 ==== */
.unlock-box {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 28px 24px; text-align: center;
    box-shadow: var(--shadow-md); margin-bottom: 24px;
    border: 1px solid var(--border);
}
.unlock-box .unlock-title {
    font-size: var(--font-base); font-weight: 600; margin-bottom: 6px;
    color: var(--text-secondary);
}
.unlock-box .unlock-cost-row {
    display: flex; justify-content: center; gap: 32px;
    margin-bottom: 22px; flex-wrap: wrap;
}
.unlock-box .unlock-cost-item {
    text-align: center;
}
.unlock-box .unlock-cost-value {
    font-size: var(--font-2xl); font-weight: 800; letter-spacing: -0.5px;
}
.unlock-box .unlock-cost-value.points-val { color: var(--warning); }
.unlock-box .unlock-cost-value.pay-val { color: var(--danger); }
.unlock-box .unlock-cost-label {
    font-size: var(--font-xs); color: var(--text-muted); margin-top: 2px;
}
.unlock-btns { display: flex; gap: 12px; }
.unlock-btn {
    flex: 1; padding: 14px 12px; font-size: var(--font-base); font-weight: 700;
    border: none; border-radius: var(--radius); color: #fff; cursor: pointer;
    transition: all 0.2s; letter-spacing: 0.3px;
}
.unlock-btn:active { transform: scale(0.96); }
.unlock-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.unlock-btn-points {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.unlock-btn-payment {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 16px rgba(239,68,68,0.3);
}
.unlock-btn-free {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 16px rgba(16,185,129,0.3);
    max-width: 260px; margin: 0 auto;
}

/* 图集 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-item {
    cursor: pointer; border-radius: var(--radius-sm); overflow: hidden;
    aspect-ratio: 1; background: var(--bg-input); box-shadow: var(--shadow-xs);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ========== 会员页 ========== */
.member-page {}
.member-header {
    text-align: center; padding: 16px 0 20px;
}
.member-avatar {
    width: 68px; height: 68px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-bg), #ddd6fe);
    color: var(--primary); display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; font-weight: 700;
    margin: 0 auto 8px; box-shadow: var(--shadow);
}
.member-username { font-size: var(--font-xl); font-weight: 700; }
.member-id { font-size: var(--font-sm); color: var(--text-muted); margin-top: 2px; }

/* 积分大字 */
.points-hero {
    text-align: center; padding: 20px 0;
}
.points-hero-value {
    font-size: 3rem; font-weight: 800; letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.points-hero-label {
    font-size: var(--font-sm); color: var(--text-muted); margin-top: 2px;
    font-weight: 500;
}

/* 统计卡片 */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.stat-card {
    background: var(--bg-card); border-radius: var(--radius-sm);
    padding: 16px 10px; text-align: center;
    box-shadow: var(--shadow-sm); transition: transform 0.2s;
}
.stat-card:active { transform: scale(0.96); }
.stat-value { font-size: var(--font-xl); font-weight: 700; color: var(--primary); }
.stat-label { font-size: var(--font-xs); color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* 卡片 */
.card {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
    border: 1px solid var(--border);
}
.card-title {
    font-size: var(--font-base); font-weight: 700; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: space-between;
    letter-spacing: -0.2px;
}

/* 快捷入口网格 */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.quick-item {
    background: var(--bg-card); border-radius: var(--radius-sm);
    padding: 18px 8px; text-align: center; box-shadow: var(--shadow-sm);
    text-decoration: none; color: var(--text); transition: transform 0.2s;
    border: 1px solid var(--border);
}
.quick-item:active { transform: scale(0.95); }
.quick-item .q-icon { font-size: 1.5rem; margin-bottom: 6px; }
.quick-item .q-label { font-size: var(--font-xs); font-weight: 600; }

/* 分享链接 */
.share-link-box {
    display: flex; gap: 8px; background: var(--bg-input);
    border-radius: var(--radius-sm); padding: 10px 12px; align-items: center;
    border: 1px dashed var(--border);
}
.share-link-text { flex: 1; font-size: var(--font-xs); color: var(--text); word-break: break-all; user-select: all; }
.copy-btn {
    padding: 7px 16px; background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius-xs); font-size: var(--font-xs);
    font-weight: 600; white-space: nowrap; transition: all 0.2s;
}
.copy-btn:active { transform: scale(0.94); }

/* 团队列表 & 明细列表 */
.team-list, .log-list {}
.team-item, .log-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--border-light);
    font-size: var(--font-sm);
}
.team-item:last-child, .log-item:last-child { border-bottom: none; }

/* 提现 */
.withdraw-item {
    display: flex; justify-content: space-between; padding: 12px 0;
    border-bottom: 1px solid var(--border-light); font-size: var(--font-sm);
}
.withdraw-item:last-child { border-bottom: none; }
.status-pending { color: var(--warning); font-weight: 600; }
.status-approved, .status-completed { color: var(--success); font-weight: 600; }
.status-rejected { color: var(--danger); font-weight: 600; }

/* 已解锁内容区 */
.unlocked-content { margin-top: 20px; }

/* ========== 登录/注册切换 ========== */
.auth-tabs {
    display: flex; margin-bottom: 24px;
    background: var(--bg-input); border-radius: var(--radius); padding: 4px;
}
.auth-tab {
    flex: 1; padding: 11px; text-align: center; font-weight: 600;
    border: none; background: transparent; color: var(--text-muted);
    border-radius: calc(var(--radius) - 4px); font-size: var(--font-base);
    transition: all 0.2s;
}
.auth-tab.active { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-sm); }

/* ========== Toast ========== */
.toast-container { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
    padding: 12px 24px; border-radius: var(--radius-full); font-size: var(--font-sm);
    font-weight: 600; color: #fff; white-space: nowrap;
    box-shadow: var(--shadow-lg); animation: toastIn 0.3s ease, toastOut 0.3s ease 2.3s forwards;
    pointer-events: auto;
}
.toast-success { background: var(--success); }
.toast-error, .toast-danger { background: var(--danger); }
.toast-warning { background: var(--warning); color: #1e293b; }
.toast-info { background: var(--info); }

@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-12px); } }

/* ========== 加载 ========== */
.loading { text-align: center; padding: 40px; color: var(--text-muted); }
.loading-spinner {
    display: inline-block; width: 36px; height: 36px;
    border: 3px solid var(--border); border-top-color: var(--primary);
    border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== 空状态 ========== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-text { font-size: var(--font-base); }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.page-btn {
    padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-xs);
    background: var(--bg-card); color: var(--text); font-size: var(--font-sm);
    font-weight: 500; transition: all 0.2s;
}
.page-btn:active { background: var(--border-light); }
.page-btn:disabled { opacity: 0.35; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== 响应式 ========== */
@media (min-width: 769px) {
    .resource-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== 工具类 ========== */
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); } .text-secondary { color: var(--text-secondary); }
.text-danger { color: var(--danger); } .text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.font-bold { font-weight: 700; }
.text-xs { font-size: var(--font-xs); } .text-sm { font-size: var(--font-sm); }
.no-border { border: none !important; }

/* ========== 后台管理布局 ========== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 230px; min-height: 100vh;
    background: #1e293b; color: #fff;
    flex-shrink: 0; position: fixed; top: 0; left: 0; bottom: 0;
    z-index: 200; overflow-y: auto;
    display: flex; flex-direction: column;
}
.admin-sidebar-header {
    padding: 20px 20px 16px; font-weight: 700; font-size: 1.125rem;
    border-bottom: 1px solid #334155; flex-shrink: 0;
}
.admin-sidebar a {
    display: block; padding: 11px 20px; color: #94a3b8;
    text-decoration: none; font-size: .8125rem; transition: all .15s;
    border-left: 3px solid transparent; white-space: nowrap;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    color: #fff; background: rgba(255,255,255,0.06);
    border-left-color: #818cf8;
}
.admin-main {
    flex: 1; padding: 24px 28px; background: #f1f5f9;
    margin-left: 230px; min-height: 100vh; overflow-x: auto;
}
@media (max-width: 768px) {
    .admin-sidebar {
        width: 200px;
    }
    .admin-main {
        margin-left: 200px; padding: 16px;
    }
}
@media (max-width: 600px) {
    /* 小屏幕：sidebar 顶部横排 */
    .admin-layout { flex-direction: column; }
    .admin-sidebar {
        position: relative; width: 100%; min-height: auto; bottom: auto;
        flex-direction: row; flex-wrap: wrap; overflow-x: auto;
        padding: 8px 0;
    }
    .admin-sidebar-header { width: 100%; padding: 12px 16px; font-size: 1rem; }
    .admin-sidebar a { border-left: none; border-bottom: 2px solid transparent; padding: 8px 14px; font-size: .75rem; white-space: nowrap; }
    .admin-sidebar a.active { border-bottom-color: #818cf8; }
    .admin-main { margin-left: 0; }
}
