/* 主题设置样式 */

/* 主题颜色项 */
.theme-color-item {
    width: 100%;
    padding-bottom: 100%; /* 保持正方形 */
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.theme-color-item:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-color-item.active {
    border-color: #00b09b;
    box-shadow: 0 0 15px rgba(0, 176, 155, 0.5);
    transform: scale(1.05);
}

/* 主题颜色项选中标记 */
.theme-color-item.active::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 主题模式按钮 */
.mode-btn {
    padding: 8px 16px;
    background: rgba(66, 66, 66, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.mode-btn:hover {
    background: rgba(80, 80, 80, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.mode-btn.active {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    border-color: transparent;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 176, 155, 0.3);
}

/* 主题设置区域 */
#imageBackgroundSettings,
#colorBackgroundSettings {
    transition: opacity 0.3s ease;
}

/* 背景类型选择区域 */
.background-type-selector {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 12px;
}

/* 主题模式选择区域 */
.theme-mode-selector {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 12px;
}
