/**
 * 主题样式
 */

/* 深色主题 */
[data-theme="dark"],
.theme-dark {
     --text-color: #f8f9fa;
     --text-light: #adb5bd;
     --text-muted: #6c757d;

     --bg-primary: #2d3436;
     --bg-secondary: #3d4446;
     --bg-tertiary: #4d5456;
     --bg-gradient: linear-gradient(135deg, #2d3436 0%, #636e72 100%);

     --border-color: #495057;

     color: var(--text-color);
     background: var(--bg-gradient);
}

.theme-dark .member-card,
.theme-dark .module-section,
.theme-dark .sidebar section {
     background: var(--bg-primary);
     border: 1px solid var(--border-color);
}

.theme-dark .status-indicator {
     border-color: var(--bg-primary);
}

.theme-dark .photo-overlay {
     background: linear-gradient(transparent, rgba(255, 255, 255, 0.1));
}

.theme-dark input,
.theme-dark textarea,
.theme-dark select {
     background: var(--bg-secondary);
     color: var(--text-color);
     border-color: var(--border-color);
}

.theme-dark .nav-btn,
.theme-dark .tab-btn {
     color: var(--text-light);
}

.theme-dark .nav-btn.active,
.theme-dark .tab-btn.active {
     color: white;
     background: var(--primary-color);
}

/* 浅色主题（默认） */
[data-theme="light"],
.theme-light {
     --text-color: #2d3436;
     --text-light: #636e72;
     --text-muted: #b2bec3;

     --bg-primary: #ffffff;
     --bg-secondary: #f8f9fa;
     --bg-tertiary: #e9ecef;
     --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

     --border-color: #dee2e6;
}

/* 主题切换动画 */
* {
     transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}