/* 颜色选择区域样式 */
.color-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.color-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 颜色选项容器 */
.color-picker-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: #333;
    transform: scale(1.1);
}

/* 扩展颜色选项 - 主题色系 */
.color-option.primary-light { background-color: #FFEAAA; }
.color-option.primary { background-color: #FCEA00; }
.color-option.primary-dark { background-color: #D5C000; }

.color-option.secondary-light { background-color: #FFAC55; }
.color-option.secondary { background-color: #FA8A00; }
.color-option.secondary-dark { background-color: #D57300; }

.color-option.accent-light { background-color: #FF7A96; }
.color-option.accent { background-color: #FA446D; }
.color-option.accent-dark { background-color: #D52A52; }

/* 深色主题选项 */
.color-option.dark-theme-1 { background-color: #2C3E50; }
.color-option.dark-theme-2 { background-color: #34495E; }
.color-option.dark-theme-3 { background-color: #1A2530; }

/* 过渡色选项 */
.color-option.gradient-1 { background: linear-gradient(135deg, #FCEA00, #FA8A00); }
.color-option.gradient-2 { background: linear-gradient(135deg, #FA8A00, #FA446D); }
.color-option.gradient-3 { background: linear-gradient(135deg, #FA446D, #33B8DB); }
.color-option.gradient-4 { background: linear-gradient(135deg, #33B8DB, #07DA9E); }

/* 柔和色选项 */
.color-option.soft-1 { background-color: #E8F4F8; }
.color-option.soft-2 { background-color: #FFF8E8; }
.color-option.soft-3 { background-color: #F8E8F0; }
.color-option.soft-4 { background-color: #E8F8F0; }

/* 颜色名称提示 */
.color-option::after {
    content: attr(data-name);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 10;
}

.color-option:hover::after {
    opacity: 1;
}

/* 示例区域样式 */
.examples-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.examples-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.examples-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

/* 示例卡片样式 */
.example-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.example-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #FCEA00;
}

.example-card.current-type {
    border-color: #FCEA00;
    background: linear-gradient(135deg, #FCEA00, #FA8A00);
    color: white;
}

.example-card.current-type .example-title,
.example-card.current-type .example-description {
    color: white;
}

.example-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.example-description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

.example-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

/* 微动效 */
.example-card.pulse,
.action-btn.pulse,
.color-option.pulse {
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 模式消息和无示例消息样式 */
.mode-message,
.no-examples {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px dashed #ccc;
    color: #666;
}

.mode-message p,
.no-examples p {
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .color-picker-container {
        justify-content: center;
    }
    
    .color-option {
        width: 25px;
        height: 25px;
    }
    
    .examples-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .color-section,
    .examples-section {
        padding: 15px;
        margin: 15px 0;
    }
}