/* 主题切换器样式 */
.theme-switcher {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

.theme-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.theme-switch i {
    font-size: 20px;
    color: #666;
}

.theme-switch .theme-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    transition: all 0.3s ease;
}

.theme-switch .theme-icon.dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.theme-switch .theme-icon.light {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
}

.theme-switch .theme-icon.auto {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #666;
}

/* 主题选项菜单 */
.theme-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.theme-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-menu-item:hover {
    background: #f5f7fa;
}

.theme-menu-item.active {
    background: #ecf5ff;
    color: #409eff;
}

.theme-menu-item i {
    font-size: 18px;
}

.theme-menu-item span {
    font-size: 14px;
}
