/* 公共样式 - 爱抓马创意工具 */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --bg: #f1f5f9;
    --sidebar: #1e293b;
    --text: #1e293b;
    --text-muted: #64748b;
    --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    display: flex;
    min-height: 100vh;
    color: var(--text);
}

/* 侧边栏 */
.sidebar { width: 260px; background: var(--sidebar); color: white; padding: 2rem 1.25rem; flex-shrink: 0; }
.sidebar-logo { font-size: 1.3rem; font-weight: 700; margin-bottom: 2.5rem; display: flex; align-items: center; gap: 10px; color: #60a5fa; text-decoration: none; }
.sidebar-group-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin: 1.5rem 0 0.5rem 10px; font-weight: 600; }
.sidebar-nav-item { padding: 12px 16px; margin-bottom: 6px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 0.9rem; transition: all 0.2s; text-decoration: none; }
.sidebar-nav-item:hover { background: rgba(255,255,255,0.05); color: white; }
.sidebar-nav-item.active { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; box-shadow: 0 4px 12px rgba(59,130,246,0.3); }
.sidebar-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 1.5rem 0; }

/* 主内容区 */
.main { flex: 1; padding: 2.5rem; display: flex; justify-content: center; overflow-y: auto; }
.card { background: white; border-radius: var(--radius); box-shadow: 0 10px 40px -15px rgba(0,0,0,0.1); padding: 2.5rem; width: 100%; max-width: 900px; }
h2 { font-size: 1.5rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 10px; }
.desc { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.btn { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border: none; padding: 14px 28px; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; box-shadow: 0 6px 20px -5px rgba(59,130,246,0.4); transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { filter: grayscale(1); opacity: 0.6; cursor: not-allowed; transform: none; }
.footer { margin-top: 2rem; color: #cbd5e1; font-size: 0.8rem; text-align: center; }

/* 响应式 */
@media (max-width: 768px) {
    body { flex-direction: column; }
    .sidebar { width: 100%; padding: 1rem; }
    .card { padding: 1.5rem; }
}
