/* CSS/theme.css - 全局主题样式 */

/* 深色模式（默认） */
body.dark-mode {
    background-color: #0A0A0A;
    color: #EEEEEE;
}

/* ========== 浅色模式 ========== */
body.light-mode {
    background-color: #F0F2F5 !important;
    color: #1A1A1A !important;
}

/* 玻璃卡片 */
body.light-mode .glass,
body.light-mode .glass-card {
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    color: #1A1A1A !important;
}

/* 所有标题和文字 */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode .text-white,
body.light-mode .text-white\/80,
body.light-mode .text-white\/70,
body.light-mode .text-white\/60,
body.light-mode .text-white\/50,
body.light-mode .text-white\/40,
body.light-mode .text-white\/30,
body.light-mode .text-white\/20 {
    color: #1A1A1A !important;
}

/* 半透明文字 */
body.light-mode .text-white\/40 {
    color: #666666 !important;
}
body.light-mode .text-white\/30 {
    color: #888888 !important;
}

/* 表单元素 */
body.light-mode .form-input,
body.light-mode .form-select {
    background: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    color: #1A1A1A !important;
}
body.light-mode .form-input:focus {
    border-color: #FF3B30 !important;
    box-shadow: 0 0 0 3px rgba(255,59,48,0.1) !important;
}
body.light-mode .form-input::placeholder {
    color: #9CA3AF !important;
}

/* 按钮 */
body.light-mode .btn-primary {
    background: #FF3B30 !important;
    color: white !important;
}
body.light-mode .btn-secondary {
    background: #F3F4F6 !important;
    color: #374151 !important;
    border: 1px solid #D1D5DB !important;
}
body.light-mode .btn-secondary:hover {
    background: #E5E7EB !important;
}

/* 导航栏 */
body.light-mode .nav-item {
    color: #4B5563 !important;
}
body.light-mode .nav-item:hover {
    background: rgba(0,0,0,0.05) !important;
    color: #1A1A1A !important;
}
body.light-mode .nav-item.active {
    background: rgba(255,59,48,0.1) !important;
    color: #FF3B30 !important;
}

/* 信息行 */
body.light-mode .info-row {
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}
body.light-mode .info-label {
    color: #6B7280 !important;
}
body.light-mode .info-value {
    color: #1A1A1A !important;
}

/* 徽章 */
body.light-mode .badge-fcl {
    background: rgba(255,59,48,0.1) !important;
    color: #FF3B30 !important;
}
body.light-mode .badge-active {
    background: rgba(34,197,94,0.1) !important;
    color: #16A34A !important;
}

/* 下拉菜单 */
body.light-mode .user-dropdown {
    background: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}
body.light-mode .user-dropdown a {
    color: #4B5563 !important;
}
body.light-mode .user-dropdown a:hover {
    background: rgba(255,59,48,0.1) !important;
    color: #FF3B30 !important;
}