/* 颜色预览 */
.color-preview {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.color-display {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: 3px solid #e2e8f0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.color-picker-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.color-picker {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 颜色格式卡片 */
.format-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.format-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    display: block;
}

.format-input-group {
    display: flex;
    gap: 10px;
}

.format-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.format-input:focus {
    outline: none;
    border-color: #667eea;
}

.format-actions {
    display: flex;
    gap: 5px;
}

.format-actions .btn {
    padding: 12px 15px;
}