/* ========================================
   StarElement UI 组件库 (seui.css)
   包含：CSS 变量、全局重置、通用组件样式
   ======================================== */

/* ========== CSS 变量 ========== */
:root {
    --green-50: #e8faf0;
    --green-100: #c6f6d5;
    --green-200: #9ae6b4;
    --green-300: #68d391;
    --green-400: #48bb78;
    --green-500: #38a169;
    --green-600: #2f855a;
    --green-700: #276749;
    --green-800: #1f5d3a;
    --green-900: #174e2d;
    --dark-900: #0a0e0c;
    --dark-800: #0f1512;
    --dark-700: #141c18;
    --dark-600: #1a2420;
    --dark-500: #243330;
    --gray-300: #cbd5c0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #48bb78 0%, #38a169 50%, #2f855a 100%);
    --gradient-hero: linear-gradient(160deg, #0a0e0c 0%, #0f2017 40%, #143020 70%, #1a4030 100%);
    --gradient-card: linear-gradient(145deg, rgba(20,28,24,0.95) 0%, rgba(15,21,18,0.9) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(72,187,120,0.15) 0%, transparent 70%);
    --shadow-green: 0 8px 32px rgba(72,187,120,0.15);
    --shadow-green-lg: 0 16px 64px rgba(72,187,120,0.2);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ========== 全局重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--dark-900);
    color: var(--gray-300);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== 自定义滚动条 ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-800); }
::-webkit-scrollbar-thumb { background: var(--green-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-500); }

/* ========== 动画 ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(72,187,120,0.4), var(--shadow-green); }
    50%      { box-shadow: 0 0 0 12px rgba(72,187,120,0), var(--shadow-green); }
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green-400); }
    50%      { opacity: 0.4; box-shadow: 0 0 0 transparent; }
}

@keyframes float {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ========== 背景粒子 ========== */
.bg-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(72,187,120,0.08);
    animation: float linear infinite;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10,14,12,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(72,187,120,0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
}

.nav-logo .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-green);
    border: 2px solid rgba(72,187,120,0.25);
}

.nav-logo .logo-text {
    background: linear-gradient(135deg, var(--green-300), var(--green-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-sub {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 2px;
}

/* ========== 顶部标题栏 ========== */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: rgba(10,14,12,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(72,187,120,0.12);
    z-index: 1001;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.topbar-menu {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.topbar-menu:hover {
    background: rgba(72,187,120,0.1);
}

.topbar-menu svg {
    width: 24px;
    height: 24px;
    stroke: var(--gray-300);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.topbar-title {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid rgba(72,187,120,0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.topbar-avatar:hover {
    border-color: var(--green-400);
    box-shadow: 0 0 12px rgba(72,187,120,0.3);
}

/* 登录按钮 */
.topbar-login-btn {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-login-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72,187,120,0.3);
}

/* ========== 个人信息卡片 ========== */
.topbar-avatar-wrap {
    position: relative;
}

.profile-card {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: var(--dark-700);
    border: 1px solid rgba(72,187,120,0.2);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    z-index: 1002;
    animation: fadeInUp 0.2s ease;
}

.profile-card.show {
    display: block;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-uid {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.profile-divider {
    height: 1px;
    background: rgba(72,187,120,0.1);
    margin: 0;
}

.profile-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: #fc8181;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.profile-logout:hover {
    background: rgba(245, 101, 101, 0.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .profile-card {
        position: fixed;
        top: 60px;
        right: 8px;
        left: 8px;
        width: auto;
    }
}

/* ========== 侧滑导航栏 ========== */
.drawer-overlay {
    display: none;
}

.drawer {
    position: fixed;
    top: 60px;
    left: 0;
    width: 260px;
    height: calc(100% - 60px);
    background: var(--dark-800);
    border-right: 1px solid rgba(72,187,120,0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drawer-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(72,187,120,0.12);
    display: flex;
    align-items: center;
    gap: 14px;
}

.drawer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid rgba(72,187,120,0.25);
}

.drawer-brand {
    display: flex;
    flex-direction: column;
}

.drawer-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
}

.drawer-brand-sub {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.drawer-nav {
    flex: 1;
    padding: 12px 0;
}

.drawer-section {
    padding: 8px 20px 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.drawer-item:hover {
    background: rgba(72,187,120,0.08);
    color: var(--green-300);
}

.drawer-item.active {
    background: rgba(72,187,120,0.12);
    color: var(--green-400);
    border-left-color: var(--green-400);
}

.drawer-item-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(72,187,120,0.12);
}

.drawer-footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.3s ease;
}

.drawer-footer-item:hover {
    color: var(--green-400);
}

/* ========== 按钮组件 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.35s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-green-lg);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--green-300);
    border: 2px solid rgba(72,187,120,0.35);
}

.btn-outline:hover {
    background: rgba(72,187,120,0.08);
    border-color: var(--green-400);
    transform: translateY(-3px);
}

/* ========== 表单组件 ========== */
.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.form-input-wrap {
    position: relative;
}

.form-input-wrap .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.5;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(72,187,120,0.04);
    border: 2px solid rgba(72,187,120,0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-500);
}

.form-input:focus {
    border-color: var(--green-400);
    background: rgba(72,187,120,0.08);
    box-shadow: 0 0 0 4px rgba(72,187,120,0.1);
}

.form-input:hover:not(:focus) {
    border-color: rgba(72,187,120,0.25);
}

/* 下拉选择框 */
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(72,187,120,0.04);
    border: 2px solid rgba(72,187,120,0.12);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--white);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-select:focus {
    border-color: var(--green-400);
    background-color: rgba(72,187,120,0.08);
    box-shadow: 0 0 0 4px rgba(72,187,120,0.1);
}

.form-select:hover:not(:focus) {
    border-color: rgba(72,187,120,0.25);
}

.form-select option {
    background: var(--dark-800);
    color: var(--white);
}

/* ========== 复选框组件 ========== */
.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--gray-400);
}

.checkbox-wrap input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(72,187,120,0.25);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '\2713';
    font-size: 0.7rem;
    color: var(--white);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-wrap input:checked + .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--green-400);
}

.checkbox-wrap input:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

/* ========== 分隔线 ========== */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 4px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(72,187,120,0.12);
}

.divider-text {
    font-size: 0.82rem;
    color: var(--gray-500);
    flex-shrink: 0;
}

/* ========== 状态提示 ========== */
.message {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    animation: fadeInUp 0.3s ease;
}

.message.show {
    display: flex;
}

.message-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.25);
    color: #fc8181;
}

.message-success {
    background: rgba(72,187,120,0.1);
    border: 1px solid rgba(72,187,120,0.25);
    color: var(--green-300);
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    z-index: 1;
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(72,187,120,0.08);
}

.footer p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

.footer a {
    color: var(--green-400);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--green-300);
}

/* ========== 卡片组件 ========== */
/* 标准卡片 */
.card {
    position: relative;
    width: 100%;
    padding: 40px 36px;
    background: linear-gradient(135deg, rgba(72,187,120,0.15) 0%, rgba(56,161,105,0.08) 100%);
    border: 1px solid rgba(72,187,120,0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(72,187,120,0.15), 0 0 0 1px rgba(72,187,120,0.05);
    transition: all 0.35s ease;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-400), var(--green-600));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(72,187,120,0.25), 0 0 60px rgba(72,187,120,0.1);
    border-color: rgba(72,187,120,0.5);
}

/* 卡片头部 */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* 卡片标题 */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* 卡片徽章 */
.card-badge {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

/* 卡片文本 */
.card-text {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin: 0;
}

/* 卡片分隔线 */
.card-divider {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* 卡片底部 */
.card-footer {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 卡片按钮 */
.card-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72,187,120,0.3);
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72,187,120,0.4);
    filter: brightness(1.1);
}

.card-btn-outline {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* 简约卡片 */
.card-simple {
    position: relative;
    width: 100%;
    padding: 40px 36px;
    background: transparent;
    border: 1px solid rgba(72,187,120,0.12);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.card-simple:hover {
    border-color: rgba(72,187,120,0.25);
    background: rgba(72,187,120,0.02);
}

.card-simple .card-badge {
    background: transparent;
    border: 1px solid rgba(72,187,120,0.3);
    color: var(--green-400);
}

.card-simple .card-text {
    color: var(--gray-400);
}

.card-simple .card-divider {
    border-top-color: rgba(72,187,120,0.08);
}

/* 统计数字 */
.card-stat {
    text-align: center;
}

.card-stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-400);
    line-height: 1;
}

.card-stat-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* 醒目卡片 */
.card-highlight {
    position: relative;
    width: 100%;
    padding: 40px 36px;
    background: linear-gradient(135deg, #2f855a 0%, #48bb78 50%, #38a169 100%);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(72,187,120,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.35s ease;
    overflow: hidden;
}

.card-highlight::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 60%);
    transform: rotate(-45deg);
    pointer-events: none;
}

.card-highlight:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(72,187,120,0.5), 0 0 80px rgba(72,187,120,0.2);
}

.card-highlight .card-badge {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
}

.card-highlight .card-text {
    color: rgba(255,255,255,0.9);
}

.card-highlight .card-divider {
    border-top-color: rgba(255,255,255,0.2);
}

.card-highlight .card-subtitle {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.card-highlight .card-highlight-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.card-highlight .card-btn {
    padding: 12px 28px;
}

/* ========== 网格背景 ========== */
.grid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(72,187,120,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(72,187,120,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ========== 发光背景 ========== */
.glow-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

/* ========== 主内容区 ========== */
.main-content {
    margin-top: 60px;
    margin-left: 260px;
    flex: 1;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========== 卡片链接 ========== */
a.card:hover {
    text-decoration: none;
    transform: translateY(-4px);
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--green-400);
}

.breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ========== 移动端适配 ========== */
@media (max-width: 640px) {
    .card, .card-simple, .card-highlight {
        padding: 32px 24px;
    }

    .card-stat-num {
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    .card, .card-simple, .card-highlight {
        padding: 24px 18px;
    }

    .card-stat-num {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .topbar-menu {
        display: flex;
    }

    .drawer-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1002;
    }

    .drawer-overlay.show {
        display: block;
    }

    .drawer {
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        z-index: 1003;
        transition: left 0.3s ease;
    }

    .drawer.show {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        padding: 16px;
    }

    .topbar-title {
        text-align: left;
        margin-left: 8px;
    }
}
