/* 主题样式文件 */

/* 浅色模式 */
body.theme-light {
    background-color: #f8f9fa;
    color: #333;
}

body.theme-light .main-container {
    background-color: #f8f9fa;
}

body.theme-light .content {
    background-color: #f8f9fa;
}

body.theme-light .common-container {
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.theme-light .upload-area {
    border: 2px dashed #ccc;
    background-color: #fff;
}

body.theme-light .upload-area:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

body.theme-light .upload-text {
    color: #666;
}

body.theme-light .upload-title {
    color: #333 !important;
}

body.theme-light .preview-area {
    border: 1px solid #ddd;
    background-color: #fff;
    color: #999;
}

body.theme-light .refine-option {
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
}

body.theme-light .submit-button {
    background-color: #3498db;
    color: white;
}

body.theme-light .submit-button:hover {
    background-color: #2980b9;
}

body.theme-light .submit-button:disabled {
    background-color: #ccc;
    color: white;
}

/* 头部 - 白天主题 */
body.theme-light .header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.theme-light .header h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-light .header .user-info span {
    color: #333;
}

body.theme-light .header .theme-switcher select {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    color: #333 !important;
    border: 1px solid #667eea !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.theme-light .header .user-info button {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    border: 1px solid #667eea !important;
    color: #667eea !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.theme-light .header .user-info button:hover {
    background: #667eea !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4) !important;
}

/* 菜单 - 白天主题 */
body.theme-light .sidebar {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

body.theme-light .sidebar-header h3 {
    color: #333;
}

body.theme-light .menu-list {
    background-color: transparent;
}

body.theme-light .menu-item {
    color: #333 !important;
}

body.theme-light .menu-item:hover a {
    background: #f5f5f5 !important;
    color: #667eea !important;
}

body.theme-light .menu-item.active a {
    background: #f0f0f0 !important;
    color: #667eea !important;
    border-left-color: #667eea !important;
}

body.theme-light .toggle-btn {
    color: #333;
}

/* 公告 - 白天主题 */
body.theme-light .notice {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
}

body.theme-light .notice-text {
    color: #333 !important;
}

/* 页脚 - 白天主题 */
body.theme-light .footer {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* 积分页面 - 白天主题 */
body.theme-light .integral-section {
    background-color: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

body.theme-light .my-integral h3 {
    color: #333 !important;
}

body.theme-light .integral-section h3 {
    color: #333 !important;
    background: #f9f9f9 !important;
}


body.theme-light .qrcode {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #999;
}



body.theme-light .record-header {
    background-color: #f1f1f1;
    color: #333;
}

body.theme-light .record-row {
    border-bottom: 1px solid #ddd;
    color: #333;
}

/* 深色模式 */
body.theme-dark {
    background-color: #121212;
    color: #3498db;
}

body.theme-dark .main-container {
    background-color: #121212;
}

body.theme-dark .content {
    background-color: #121212;
}

body.theme-dark .common-container {
    background: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.theme-dark .face-swap-title {
    color: #999 !important;
}

body.theme-dark .upload-area {
    border: 2px dashed #3498db;
    background-color: #2c2c2c;
}

body.theme-dark .upload-area:hover {
    border-color: #2980b9;
    background-color: #1a2a3a;
}

body.theme-dark .upload-text {
    color: #3498db;
}

body.theme-dark .upload-title {
    color: #999 !important;
}

body.theme-dark .preview-area {
    border: 1px solid #3498db;
    background-color: #2c2c2c;
    color: #3498db;
}

body.theme-dark .refine-option {
    border: 1px solid #3498db;
    background-color: #2c2c2c;
    color: #3498db;
}

body.theme-dark .submit-button {
    background-color: #2980b9;
    color: #121212;
}

body.theme-dark .submit-button:hover {
    background-color: #1a6091;
}

body.theme-dark .submit-button:disabled {
    background-color: #333;
    color: #666;
}

/* 头部 - 夜晚主题 */
body.theme-dark .header {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
    color: #3498db;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.theme-dark .header h2 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-dark .header .user-info span {
    color: #999;
}

body.theme-dark .header .theme-switcher select {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%) !important;
    color: #3498db !important;
    border: 1px solid #3498db !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .header .user-info button {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%) !important;
    border: 1px solid #3498db !important;
    color: #3498db !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .header .user-info button:hover {
    background: #3498db !important;
    color: #121212 !important;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4) !important;
}

/* 菜单 - 夜晚主题 */
body.theme-dark .sidebar {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

body.theme-dark .sidebar-header h3 {
    color: #3498db;
}

body.theme-dark .menu-list {
    background-color: transparent;
}

body.theme-dark .menu-item {
    color: #3498db !important;
}

body.theme-dark .menu-item:hover a {
    background: rgba(52, 152, 219, 0.1) !important;
    color: #3498db !important;
}

body.theme-dark .menu-item.active a {
    background: rgba(52, 152, 219, 0.2) !important;
    color: #2980b9 !important;
    border-left-color: #3498db !important;
}

body.theme-dark .toggle-btn {
    color: #3498db;
}

/* 公告 - 夜晚主题 */
body.theme-dark .notice {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    color: #3498db !important;
}

body.theme-dark .notice-text {
    color: #3498db !important;
}

/* 页脚 - 夜晚主题 */
body.theme-dark .footer {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
    color: #3498db;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* 积分页面 - 夜晚主题 */
body.theme-dark .integral-section {
    background-color: #1e1e1e !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .my-integral h3 {
    color: #3498db !important;
}

body.theme-dark .my-integral h3::after {
    background: #3498db !important;
}

body.theme-dark .integral-section h3 {
    color: #3498db !important;
    background: #2c2c2c !important;
}

body.theme-dark .integral-section:not(:last-child)::after {
    background: #3498db !important;
}


body.theme-dark .qrcode {
    background-color: #2c2c2c !important;
    border: 1px solid #3498db !important;
    color: #999 !important;
}

body.theme-dark .integral-section .integral-item {
    color: #999 !important;
}

body.theme-dark .integral-section .integral-item .integral-value {
    color: #999 !important;
}

body.theme-dark .record-container {
    border: 1px solid #3498db !important;
    background-color: #2c2c2c !important;
}

body.theme-dark .record-header {
    background-color: #2c2c2c !important;
    border-bottom: 1px solid #3498db !important;
}

body.theme-dark .record-row {
    border-bottom: 1px solid #3498db !important;
    color: #999 !important;
}

body.theme-dark .record-row:hover {
    background: #1a2a3a !important;
}

body.theme-dark .record-header .record-item {
    color: #999 !important;
}

body.theme-dark .record-item {
    color: #999 !important;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    body.theme-light .header h2,
    body.theme-dark .header h2 {
        font-size: 14px;
    }
    
    body.theme-light .header .user-info .welcome-text,
    body.theme-dark .header .user-info .welcome-text {
        font-size: 11px;
    }
    
    body.theme-light .header .user-info .username,
    body.theme-dark .header .user-info .username {
        font-size: 11px;
    }
    
    body.theme-light .header .user-info button,
    body.theme-dark .header .user-info button {
        padding: 3px 6px;
        font-size: 10px;
    }
    
    body.theme-light .header .theme-switcher select,
    body.theme-dark .header .theme-switcher select {
        padding: 2px 4px;
        font-size: 10px;
    }
}